Package com.vladsch.plugin.util.edit
Class LineCommentProcessor
- java.lang.Object
-
- com.vladsch.plugin.util.edit.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.EditorgetEditor()@NotNull com.intellij.psi.PsiFilegetPsiFile()booleanisFormattingRegion(int startOffset, int endOffset)booleanisLineCommented(int offset)booleanisLineCommented(int startOfLineOffset, int endOfLineOffset)
-
-
-
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)
-
-