Fix selection update

This commit is contained in:
Maxime Coste 2014-06-12 21:23:49 +01:00
parent 346de52633
commit af750ce186

View File

@ -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;
}