mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
hook selectToFirstCharacterOfLine up to a command in editor.
This commit is contained in:
parent
fe4c4e9751
commit
62e0274ff6
@ -146,6 +146,7 @@ class Editor extends View
|
||||
'editor:select-to-end-of-word': @selectToEndOfWord
|
||||
'editor:select-to-beginning-of-word': @selectToBeginningOfWord
|
||||
'editor:select-to-beginning-of-next-word': @selectToBeginningOfNextWord
|
||||
'editor:select-to-first-character-of-line': @selectToFirstCharacterOfLine
|
||||
'editor:add-selection-below': @addSelectionBelow
|
||||
'editor:add-selection-above': @addSelectionAbove
|
||||
'editor:select-line': @selectLine
|
||||
@ -327,6 +328,9 @@ class Editor extends View
|
||||
# {Delegates to: EditSession.selectToBeginningOfLine}
|
||||
selectToBeginningOfLine: -> @activeEditSession.selectToBeginningOfLine()
|
||||
|
||||
# {Delegates to: EditSession.selectToFirstCharacterOfLine}
|
||||
selectToFirstCharacterOfLine: -> @activeEditSession.selectToFirstCharacterOfLine()
|
||||
|
||||
# {Delegates to: EditSession.selectToEndOfLine}
|
||||
selectToEndOfLine: -> @activeEditSession.selectToEndOfLine()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user