parent
ab640f9fbf
commit
88def85d77
|
@ -979,7 +979,7 @@ private:
|
||||||
kak_assert(false); // invalid for interactive insert
|
kak_assert(false); // invalid for interactive insert
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (mode != InsertMode::Append)
|
if (mode != InsertMode::Append and mode != InsertMode::Replace)
|
||||||
selections.sort_and_merge_overlapping();
|
selections.sort_and_merge_overlapping();
|
||||||
selections.check_invariant();
|
selections.check_invariant();
|
||||||
buffer.check_invariant();
|
buffer.check_invariant();
|
||||||
|
|
1
test/unit/insert-replace/cmd
Normal file
1
test/unit/insert-replace/cmd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
cthis was <c-r>" <esc>
|
1
test/unit/insert-replace/in
Normal file
1
test/unit/insert-replace/in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
%(word1)%(word2)%(word3)%(word4)
|
1
test/unit/insert-replace/out
Normal file
1
test/unit/insert-replace/out
Normal file
|
@ -0,0 +1 @@
|
||||||
|
this was word1 this was word2 this was word3 this was word4
|
Loading…
Reference in New Issue
Block a user