Selection: handle last buffer character deleted case

This commit is contained in:
Maxime Coste 2012-02-22 22:03:11 +00:00
parent 416a1805b3
commit 7f175da3fd

View File

@ -69,6 +69,9 @@ static void update_iterator(const Modification& modification,
iterator = modification.position;
else
iterator -= length;
if (iterator.is_end())
--iterator;
}
else
{