marijnh/CodeMirror2 — Issue #258: Empty marker after line delete
Author: jurek7
Created: 2011-11-28 11:26:33+00:00
State: open

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.