mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Move select all fn so docs read better
This commit is contained in:
@@ -1985,12 +1985,6 @@ class Editor extends Model
|
||||
selectToTop: ->
|
||||
@expandSelectionsBackward (selection) -> selection.selectToTop()
|
||||
|
||||
# Essential: Select all text in the buffer.
|
||||
#
|
||||
# This method merges multiple selections into a single selection.
|
||||
selectAll: ->
|
||||
@expandSelectionsForward (selection) -> selection.selectAll()
|
||||
|
||||
# Essential: Selects from the top of the first selection in the buffer to the end
|
||||
# of the buffer.
|
||||
#
|
||||
@@ -1998,6 +1992,12 @@ class Editor extends Model
|
||||
selectToBottom: ->
|
||||
@expandSelectionsForward (selection) -> selection.selectToBottom()
|
||||
|
||||
# Essential: Select all text in the buffer.
|
||||
#
|
||||
# This method merges multiple selections into a single selection.
|
||||
selectAll: ->
|
||||
@expandSelectionsForward (selection) -> selection.selectAll()
|
||||
|
||||
# Essential: Move the cursor of each selection to the beginning of its line
|
||||
# while preserving the selection's tail position.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user