Meta-a selects everything

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-05-14 16:18:37 -06:00
parent 13553f79bc
commit 9079bcb103
5 changed files with 15 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ class Editor extends View
'select-to-beginning-of-line': @selectToBeginningOfLine
'select-to-end-of-word': @selectToEndOfWord
'select-to-beginning-of-word': @selectToBeginningOfWord
'select-all': @selectAll
for name, method of editorBindings
do (name, method) =>
@@ -588,6 +589,7 @@ class Editor extends View
selectDown: -> @compositeSelection.selectDown()
selectToTop: -> @compositeSelection.selectToTop()
selectToBottom: -> @compositeSelection.selectToBottom()
selectAll: -> @compositeSelection.selectAll()
selectToBeginningOfLine: -> @compositeSelection.selectToBeginningOfLine()
selectToEndOfLine: -> @compositeSelection.selectToEndOfLine()
selectToBeginningOfWord: -> @compositeSelection.selectToBeginningOfWord()