Fix cut, copy and paste key bindings

Closes #1425
This commit is contained in:
probablycorey
2014-01-15 15:58:52 -08:00
parent 70c89dfefa
commit b620be7780

View File

@@ -128,9 +128,9 @@ class EditorView extends View
'core:delete': => @editor.delete()
'core:undo': => @editor.undo()
'core:redo': => @editor.redo()
'core:cut': => @editor.cutSelection()
'core:copy': => @editor.copySelection()
'core:paste': => @editor.paste()
'core:cut': => @editor.cutSelectedText()
'core:copy': => @editor.copySelectedText()
'core:paste': => @editor.pasteText()
'editor:move-to-previous-word': => @editor.moveCursorToPreviousWord()
'editor:select-word': => @editor.selectWord()
'editor:consolidate-selections': (event) => @consolidateSelections(event)