Add ability to move through select list and 'event-palette:cancel' event

This commit is contained in:
Nathan Sobo
2012-10-02 11:23:50 -10:00
parent 3d79100877
commit 1b013cc029
4 changed files with 86 additions and 11 deletions

View File

@@ -93,8 +93,6 @@ class Editor extends View
editorBindings =
'move-right': @moveCursorRight
'move-left': @moveCursorLeft
'move-down': @moveCursorDown
'move-up': @moveCursorUp
'move-to-next-word': @moveCursorToNextWord
'move-to-previous-word': @moveCursorToPreviousWord
'select-right': @selectRight
@@ -136,6 +134,8 @@ class Editor extends View
unless @mini
_.extend editorBindings,
'move-down': @moveCursorDown
'move-up': @moveCursorUp
'save': @save
'newline-below': @insertNewlineBelow
'toggle-soft-wrap': @toggleSoftWrap