Empty marker after line delete #258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Visible in code folding demo: http://codemirror.net/demo/folding.html
To reproduce:
%---------%1 {cursor_position}//no white space here
%marker%2 function keyEvent(cm, e) {...
%---------%10 }
Press delete on your keyboard when cursor is in {cursor_position}.
Then line 2 is now line 1 and doesn't contains marker(set before by setMarker)
Bug also occurs when CodeMirror.removeLine(0) was launched.
I've pushed two patches,
65e835d88bandfaa65d74fc, that should help make this behave less weirdly.