parent
295a77b23a
commit
2104af0771
|
@ -515,7 +515,7 @@ select_sentence(const Context& context, const Selection& selection,
|
||||||
char prev = *(first-1);
|
char prev = *(first-1);
|
||||||
if (not is_horizontal_blank(cur))
|
if (not is_horizontal_blank(cur))
|
||||||
saw_non_blank = true;
|
saw_non_blank = true;
|
||||||
if (is_eol(prev) and is_eol(cur))
|
if (is_eol(prev) and is_eol(cur) and first + 1 != buffer.end())
|
||||||
{
|
{
|
||||||
++first;
|
++first;
|
||||||
break;
|
break;
|
||||||
|
|
1
test/regression/3472-crash-on-to-sentence-start/cmd
Normal file
1
test/regression/3472-crash-on-to-sentence-start/cmd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
j[s
|
2
test/regression/3472-crash-on-to-sentence-start/in
Normal file
2
test/regression/3472-crash-on-to-sentence-start/in
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
a
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
2.1,1.1
|
Loading…
Reference in New Issue
Block a user