You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found in #574 that wrong byte_pointer is passed to auto_indent_proc.
When @line or @line_index is changed, Reline needs to recalculate @byte_pointer too.
Where is the bug?
I slightly searched line_editor.rb with regexp /@line_index [+-]= |@line = / and listed up methods which is not updating @byte_pointer.
These are suspicious methods
Description
I found in #574 that wrong
byte_pointer
is passed to auto_indent_proc.When
@line
or@line_index
is changed, Reline needs to recalculate@byte_pointer
too.Where is the bug?
I slightly searched
line_editor.rb
with regexp/@line_index [+-]= |@line = /
and listed up methods which is not updating@byte_pointer
.These are suspicious methods
The text was updated successfully, but these errors were encountered: