From 55ace0fe99a3265fcf882f96245aa75ea65ec7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Duy=C3=A9?= Date: Sat, 25 Oct 2014 19:35:19 +0200 Subject: [PATCH] :memo: fix TextEditor::delete() doc --- src/text-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index c0f768da0..c8500bb4c 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -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()