1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 17:31:44 +03:00

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; iterator = modification.position;
else else
iterator -= length; iterator -= length;
if (iterator.is_end())
--iterator;
} }
else else
{ {