Merge pull request #6433 from vvakame/improves-document-consistency

📝 improves document consistency
This commit is contained in:
Ivan Žužak
2015-04-19 17:12:26 +02:00

View File

@@ -714,7 +714,7 @@ class TextEditor extends Model
# * `options` (optional) See {Selection::insertText}.
#
# Returns a {Range} when the text has been inserted
# Returns a {Bool} false when the text has not been inserted
# Returns a {Boolean} false when the text has not been inserted
insertText: (text, options={}) ->
willInsert = true
cancel = -> willInsert = false