📝 doc what DisplayBuffer::getGrammar returns

This commit is contained in:
Kevin Sawicki
2013-11-18 09:30:56 -08:00
parent 316571308a
commit ca96aa2804

View File

@@ -365,7 +365,9 @@ class DisplayBuffer
setTabLength: (tabLength) ->
@tokenizedBuffer.setTabLength(tabLength)
# Retrieves the grammar for the buffer.
# Get the grammar for this buffer.
#
# Returns the current {TextMateGrammar} or the {NullGrammar}.
getGrammar: ->
@tokenizedBuffer.grammar