Class LineCommentProcessor


  • public class LineCommentProcessor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LineCommentProcessor​(@NotNull com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiFile psiFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull com.intellij.openapi.editor.Editor getEditor()  
      @NotNull com.intellij.psi.PsiFile getPsiFile()  
      boolean isFormattingRegion​(int startOffset, int endOffset)  
      boolean isLineCommented​(int offset)  
      boolean isLineCommented​(int startOfLineOffset, int endOfLineOffset)  
      • Methods inherited from class java.lang.Object

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

      • LineCommentProcessor

        public LineCommentProcessor​(@NotNull
                                    @NotNull com.intellij.openapi.editor.Editor editor,
                                    @NotNull
                                    @NotNull com.intellij.psi.PsiFile psiFile)
    • Method Detail

      • getPsiFile

        @NotNull
        public @NotNull com.intellij.psi.PsiFile getPsiFile()
      • getEditor

        @NotNull
        public @NotNull com.intellij.openapi.editor.Editor getEditor()
      • isLineCommented

        public boolean isLineCommented​(int offset)
      • isLineCommented

        public boolean isLineCommented​(int startOfLineOffset,
                                       int endOfLineOffset)
      • isFormattingRegion

        public boolean isFormattingRegion​(int startOffset,
                                          int endOffset)