Fixed a bug in single line tabbing that caused

the tab length not being taken into account.

Added DOM emulation to the unit tests so that they
can be run from node.

Extended the Mockrenderer for the unit tests.

Made the majority of the unit tests work again
(barring those for moveLinesUp, see below).

Fixed a bug in moveLinesUp that caused an empty
line to be inserted. However, this fix causes the
editor to break (need to look at this).
This commit is contained in:
Eddy Bruel 2010-11-24 13:27:38 +01:00 • committed by Joe Walker
commit 215cfbf4bf
18 changed files with 555 additions and 474 deletions

1
support/async Submodule

@ -0,0 +1 @@
Subproject commit 6da8076355fc9f06191d39b8f5989159dc8a162c

1
support/jsdom Submodule

@ -0,0 +1 @@
Subproject commit 486755962dc0b69c60bfd04869ff1e0093406bae

@ -0,0 +1 @@
Subproject commit 60d64db4a9a8b1a26bd099bc34f657bf096c4f39