📝 fix return doc

This commit is contained in:
Ben Ogle
2014-07-30 15:30:21 -07:00
parent 01c4fe5340
commit fc441ef5e2

View File

@@ -643,7 +643,8 @@ class Editor extends Model
# text - A {String} representing the text to insert.
# options - See {Selection::insertText}.
#
# Returns a {Boolean} indicating whether or not the text was inserted.
# Returns a {Range} when the text has been inserted
# Returns a {Bool} false when the text has not been inserted
insertText: (text, options={}) ->
willInsert = true
cancel = -> willInsert = false