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;
|
||||
else
|
||||
iterator -= length;
|
||||
|
||||
if (iterator.is_end())
|
||||
--iterator;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user