📝 fix TextEditor::delete() doc

This commit is contained in:
Bruno Duyé
2014-10-25 19:35:19 +02:00
parent 03f7511229
commit 55ace0fe99

View File

@@ -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()