mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Merge pull request #18630 from atom/wl-mv-get-buffer-docs
Move getBuffer out of Event Subscription section
This commit is contained in:
commit
be8097272f
@ -959,9 +959,6 @@ class TextEditor {
|
||||
return this.decorationManager.onDidUpdateDecorations(callback)
|
||||
}
|
||||
|
||||
// Essential: Retrieves the current {TextBuffer}.
|
||||
getBuffer () { return this.buffer }
|
||||
|
||||
// Retrieves the current buffer's URI.
|
||||
getURI () { return this.buffer.getUri() }
|
||||
|
||||
@ -1076,6 +1073,15 @@ class TextEditor {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Section: Buffer
|
||||
*/
|
||||
|
||||
// Essential: Retrieves the current {TextBuffer}.
|
||||
getBuffer () {
|
||||
return this.buffer
|
||||
}
|
||||
|
||||
/*
|
||||
Section: File Details
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user