1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Save last breaking point to complete

This commit is contained in:
aycabta 2019-12-25 18:45:02 +09:00
parent 1002de58ec
commit 8a705245e5

View file

@ -919,6 +919,7 @@ class Reline::LineEditor
elsif not quote and slice =~ word_break_regexp
rest = $'
i += 1
before = @line.byteslice(i, @byte_pointer - i)
break_pointer = i
else
i += 1