mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Support more than just editors in the status bar
The status bar view now tracks the active pane item and hides and shows elements that apply for the active item such as path, cursor position, grammar, etc.
This commit is contained in:
@@ -156,6 +156,7 @@ class EditSession
|
||||
saveAs: (path) -> @buffer.saveAs(path)
|
||||
getFileExtension: -> @buffer.getExtension()
|
||||
getPath: -> @buffer.getPath()
|
||||
getBuffer: -> @buffer
|
||||
getUri: -> @getPath()
|
||||
isBufferRowBlank: (bufferRow) -> @buffer.isRowBlank(bufferRow)
|
||||
nextNonBlankBufferRow: (bufferRow) -> @buffer.nextNonBlankRow(bufferRow)
|
||||
|
||||
Reference in New Issue
Block a user