Merge pull request #3965 from brunetton/master

📝 fix TextEditor::delete() doc
This commit is contained in:
Kevin Sawicki
2014-10-27 09:13:04 -07:00

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