Package org.intellij.grammar.editor
Class BnfWordSelectioner
java.lang.Object
com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase
com.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner
org.intellij.grammar.editor.BnfWordSelectioner
- All Implemented Interfaces:
com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler
public class BnfWordSelectioner
extends com.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner
-
Field Summary
Fields inherited from interface com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler
EP_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSelect(@NotNull com.intellij.psi.PsiElement e) List<com.intellij.openapi.util.TextRange>select(@NotNull com.intellij.psi.PsiElement e, @NotNull CharSequence editorText, int cursorOffset, @NotNull com.intellij.openapi.editor.Editor editor) Methods inherited from class com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase
expandToWholeLine, expandToWholeLine, expandToWholeLinesWithBlanks, getMinimalTextRangeLength
-
Constructor Details
-
BnfWordSelectioner
public BnfWordSelectioner()
-
-
Method Details
-
canSelect
public boolean canSelect(@NotNull @NotNull com.intellij.psi.PsiElement e) - Specified by:
canSelectin interfacecom.intellij.codeInsight.editorActions.ExtendWordSelectionHandler- Specified by:
canSelectin classcom.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase
-
select
public List<com.intellij.openapi.util.TextRange> select(@NotNull @NotNull com.intellij.psi.PsiElement e, @NotNull @NotNull CharSequence editorText, int cursorOffset, @NotNull @NotNull com.intellij.openapi.editor.Editor editor) - Specified by:
selectin interfacecom.intellij.codeInsight.editorActions.ExtendWordSelectionHandler- Overrides:
selectin classcom.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner
-