IncrementalInserter: fix OpenLineBelow
This commit is contained in:
parent
32e01947fa
commit
7e2f7f6715
|
@ -402,7 +402,7 @@ IncrementalInserter::IncrementalInserter(Window& window, Mode mode)
|
|||
case Mode::Change: pos = sel.begin(); break;
|
||||
|
||||
case Mode::OpenLineBelow:
|
||||
pos = sel.end();
|
||||
pos = sel.last();
|
||||
while (not pos.is_end() and *pos != '\n')
|
||||
++pos;
|
||||
++pos;
|
||||
|
|
Loading…
Reference in New Issue
Block a user