mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Delete bad merge artifacts and reword docs
This commit is contained in:
parent
be2e340412
commit
70a8b54e50
@ -404,24 +404,16 @@ class Selection extends Model
|
|||||||
@selectLeft() if @isEmpty() and not @editor.isFoldedAtScreenRow(@cursor.getScreenRow())
|
@selectLeft() if @isEmpty() and not @editor.isFoldedAtScreenRow(@cursor.getScreenRow())
|
||||||
@deleteSelectedText()
|
@deleteSelectedText()
|
||||||
|
|
||||||
# Deprecated: Use {::deleteToBeginningOfWord} instead.
|
# Public: Removes the selection or, if nothing is selected, then all
|
||||||
backspaceToBeginningOfWord: ->
|
# characters from the start of the selection back to the previous word
|
||||||
deprecate("Use Selection::deleteToBeginningOfWord() instead")
|
# boundary.
|
||||||
@deleteToBeginningOfWord()
|
|
||||||
|
|
||||||
# Deprecated: Use {::deleteToBeginningOfLine} instead.
|
|
||||||
backspaceToBeginningOfLine: ->
|
|
||||||
deprecate("Use Selection::deleteToBeginningOfLine() instead")
|
|
||||||
@deleteToBeginningOfLine()
|
|
||||||
|
|
||||||
# Public: Removes the selection or all characters from the start of the
|
|
||||||
# selection back to the previous word boundary if nothing is selected.
|
|
||||||
deleteToPreviousWordBoundary: ->
|
deleteToPreviousWordBoundary: ->
|
||||||
@selectToPreviousWordBoundary() if @isEmpty()
|
@selectToPreviousWordBoundary() if @isEmpty()
|
||||||
@deleteSelectedText()
|
@deleteSelectedText()
|
||||||
|
|
||||||
# Public: Removes the selection or all characters from the start of the
|
# Public: Removes the selection or, if nothing is selected, then all
|
||||||
# selection up to the next word boundary if nothing is selected.
|
# characters from the start of the selection up to the next word
|
||||||
|
# boundary.
|
||||||
deleteToNextWordBoundary: ->
|
deleteToNextWordBoundary: ->
|
||||||
@selectToNextWordBoundary() if @isEmpty()
|
@selectToNextWordBoundary() if @isEmpty()
|
||||||
@deleteSelectedText()
|
@deleteSelectedText()
|
||||||
|
Loading…
Reference in New Issue
Block a user