mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Convert visibility on the grammars section
This commit is contained in:
@@ -1357,11 +1357,11 @@ class Editor extends Model
|
||||
Section: Grammars
|
||||
###
|
||||
|
||||
# Public: Get the current {Grammar} of this editor.
|
||||
# Essential: Get the current {Grammar} of this editor.
|
||||
getGrammar: ->
|
||||
@displayBuffer.getGrammar()
|
||||
|
||||
# Public: Set the current {Grammar} of this editor.
|
||||
# Essential: Set the current {Grammar} of this editor.
|
||||
#
|
||||
# Assigning a grammar will cause the editor to re-tokenize based on the new
|
||||
# grammar.
|
||||
|
||||
Reference in New Issue
Block a user