mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
📝 improves document consistency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user