Class GrammarAtCaretPassFactory

  • All Implemented Interfaces:
    com.intellij.codeHighlighting.TextEditorHighlightingPassFactory, com.intellij.codeHighlighting.TextEditorHighlightingPassFactoryRegistrar

    public class GrammarAtCaretPassFactory
    extends java.lang.Object
    implements com.intellij.codeHighlighting.TextEditorHighlightingPassFactory, com.intellij.codeHighlighting.TextEditorHighlightingPassFactoryRegistrar
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.intellij.openapi.util.Key<java.lang.Boolean> GRAMMAR_AT_CARET_KEY  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.intellij.codeHighlighting.TextEditorHighlightingPass createHighlightingPass​(@NotNull com.intellij.psi.PsiFile file, @NotNull com.intellij.openapi.editor.Editor editor)  
      void registerHighlightingPassFactory​(@NotNull com.intellij.codeHighlighting.TextEditorHighlightingPassRegistrar registrar, @NotNull com.intellij.openapi.project.Project project)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GRAMMAR_AT_CARET_KEY

        public static final com.intellij.openapi.util.Key<java.lang.Boolean> GRAMMAR_AT_CARET_KEY
    • Constructor Detail

      • GrammarAtCaretPassFactory

        public GrammarAtCaretPassFactory()
    • Method Detail

      • registerHighlightingPassFactory

        public void registerHighlightingPassFactory​(@NotNull
                                                    @NotNull com.intellij.codeHighlighting.TextEditorHighlightingPassRegistrar registrar,
                                                    @NotNull
                                                    @NotNull com.intellij.openapi.project.Project project)
        Specified by:
        registerHighlightingPassFactory in interface com.intellij.codeHighlighting.TextEditorHighlightingPassFactoryRegistrar
      • createHighlightingPass

        public com.intellij.codeHighlighting.TextEditorHighlightingPass createHighlightingPass​(@NotNull
                                                                                               @NotNull com.intellij.psi.PsiFile file,
                                                                                               @NotNull
                                                                                               @NotNull com.intellij.openapi.editor.Editor editor)
        Specified by:
        createHighlightingPass in interface com.intellij.codeHighlighting.TextEditorHighlightingPassFactory