use of org.jetbrains.plugins.groovy.lang.groovydoc.highlighter.GroovyDocSyntaxHighlighter in project intellij-community by JetBrains.
the class GroovyEditorHighlighter method registerGroovydocHighlighter.
private void registerGroovydocHighlighter() {
// Register GroovyDoc Highlighter
SyntaxHighlighter groovyDocHighlighter = new GroovyDocSyntaxHighlighter();
final LayerDescriptor groovyDocLayer = new LayerDescriptor(groovyDocHighlighter, "\n", GroovySyntaxHighlighter.DOC_COMMENT_CONTENT);
registerLayer(GroovyDocElementTypes.GROOVY_DOC_COMMENT, groovyDocLayer);
}
Aggregations