marijnh/CodeMirror2 — Issue #307: Undo is broken in multi-line dedent with blank lines
Author: evanw
Created: 2011-12-25 01:18:34+00:00
State: open

I was trying out your demo and I came across a bug. If you visit a demo page (such as http://codemirror.net/demo/activeline.html) and paste the following text:

a
b

c

d

Then select lines 2 through 6, dedent them (shift+tab), and undo the dedent (with cmd+z). It takes three undo steps for me where it should only take one, at least on Chrome and Firefox on OS X.