parent
22bfbd06af
commit
a17a0345cf
|
@ -413,7 +413,7 @@ void SelectionList::insert(ConstArrayView<String> strings, InsertMode mode,
|
|||
auto& min = sel.min();
|
||||
auto& max = sel.max();
|
||||
min = range.begin;
|
||||
max = m_buffer->char_prev(range.end);
|
||||
max = range.end > range.begin ? m_buffer->char_prev(range.end) : range.begin;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
R
|
1
test/regression/3275-crash-on-replace-at-buffer-start/in
Normal file
1
test/regression/3275-crash-on-replace-at-buffer-start/in
Normal file
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
oo
|
Loading…
Reference in New Issue
Block a user