From 776eee2413038f556320db726395280691859a05 Mon Sep 17 00:00:00 2001 From: Tony Han Date: Sat, 20 Jun 2015 17:55:19 +0800 Subject: [PATCH] :memo: fix doc for TextEditor setText --- src/text-editor.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index 7afc99236..3b19970b8 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -749,6 +749,8 @@ class TextEditor extends Model ### # Essential: Replaces the entire contents of the buffer with the given {String}. + # + # * `text` A {String} to replace with setText: (text) -> @buffer.setText(text) # Essential: Set the text in the given {Range} in buffer coordinates.