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:
Kevin Sawicki
2013-04-08 13:26:57 -07:00
parent e3b381f638
commit 5e504d6c08
3 changed files with 62 additions and 30 deletions

View File

@@ -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)