- catchup with latest changes to pilot/keys.js
- the textinput adds a event.addCommandKeyEvent(...) to the input
- the onTextInput and onCommandKey event sent by the textinput are forwareded to the edtior which
then forwards the input to the keybinding, which handles the input based on the current inputMode.
- the current inputMode can get changed by setting the setting "inputMode". Currently there are the
modes "vim" and "emacs". If the inputMode doesn't match, the "default" mode is used.
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).