Display editor's grammar name in status bar

Clicking on the grammar name displays the list of
available grammars that can be switched to.
This commit is contained in:
Kevin Sawicki
2013-01-10 17:45:24 -08:00
parent 2fb27bb2dd
commit 3a582eab63
5 changed files with 49 additions and 2 deletions

View File

@@ -1128,6 +1128,7 @@ class Editor extends View
if grammarChanged
@clearRenderedLines()
@updateDisplay()
@trigger 'editor:grammar-changed'
grammarChanged
bindToKeyedEvent: (key, event, callback) ->