mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
Merge pull request #7348 from tony612/fix-doc-for-text-editor-setText
fix doc for TextEditor setText
This commit is contained in:
commit
648b46eb39
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user