mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix comments so they match up with actual behavior
This commit is contained in:
@@ -1146,7 +1146,7 @@ class EditSession
|
||||
selectToBeginningOfLine: ->
|
||||
@expandSelectionsBackward (selection) => selection.selectToBeginningOfLine()
|
||||
|
||||
# Moves every cursor to the first non-whitespace character of the line.
|
||||
# Selects to the first non-whitespace character of the line.
|
||||
selectToFirstCharacterOfLine: ->
|
||||
@expandSelectionsBackward (selection) => selection.selectToFirstCharacterOfLine()
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ class Selection
|
||||
selectToBeginningOfLine: ->
|
||||
@modifySelection => @cursor.moveToBeginningOfLine()
|
||||
|
||||
# Selects all the text from the current cursor position to the beginning of the line.
|
||||
# Selects all the text from the current cursor position to the first character of the line.
|
||||
selectToFirstCharacterOfLine: ->
|
||||
@modifySelection => @cursor.moveToFirstCharacterOfLine()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user