From af750ce186723157746f5d8a87178785b2909602 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 12 Jun 2014 21:23:49 +0100 Subject: [PATCH] Fix selection update --- src/selection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection.cc b/src/selection.cc index 95b4e344..d8808054 100644 --- a/src/selection.cc +++ b/src/selection.cc @@ -163,7 +163,7 @@ struct ForwardChangesTracker bool relevant(const Buffer::Change& change, ByteCoord old_coord) const { - auto new_coord = get_new_coord(old_coord); + auto new_coord = get_new_coord_tolerant(old_coord); return change.type == Buffer::Change::Insert ? change.begin <= new_coord : change.begin < new_coord; }