Selection: handle last buffer character deleted case
This commit is contained in:
parent
416a1805b3
commit
7f175da3fd
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user