Move select all fn so docs read better

This commit is contained in:
Ben Ogle
2014-09-02 16:45:49 -07:00
parent 0b34e46a1a
commit 81532d52f7

View File

@@ -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.
#