Merge pull request #18630 from atom/wl-mv-get-buffer-docs

Move getBuffer out of Event Subscription section
This commit is contained in:
David Wilson
2019-01-08 14:07:23 -08:00
committed by GitHub

View File

@@ -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
*/