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:
parent
1002de58ec
commit
8a705245e5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue