From ca96aa280493c2e0281f11dd55d94b637e101bc4 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 18 Nov 2013 09:30:56 -0800 Subject: [PATCH] :memo: doc what DisplayBuffer::getGrammar returns --- src/display-buffer.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/display-buffer.coffee b/src/display-buffer.coffee index 2ec4280c9..780b9cfbf 100644 --- a/src/display-buffer.coffee +++ b/src/display-buffer.coffee @@ -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