mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Merge pull request #3965 from brunetton/master
📝 fix TextEditor::delete() doc
This commit is contained in:
@@ -752,7 +752,7 @@ class TextEditor extends Model
|
||||
@insertText('\n')
|
||||
|
||||
# Essential: For each selection, if the selection is empty, delete the character
|
||||
# preceding the cursor. Otherwise delete the selected text.
|
||||
# following the cursor. Otherwise delete the selected text.
|
||||
delete: ->
|
||||
@mutateSelectedText (selection) -> selection.delete()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user