Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canSelect​(@NotNull com.intellij.psi.PsiElement e)  
      java.util.List<com.intellij.openapi.util.TextRange> select​(@NotNull com.intellij.psi.PsiElement e, @NotNull java.lang.CharSequence editorText, int cursorOffset, @NotNull com.intellij.openapi.editor.Editor editor)  
      • Methods inherited from class com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase

        expandToWholeLine, expandToWholeLine, expandToWholeLinesWithBlanks, getMinimalTextRangeLength
      • Methods inherited from class java.lang.Object

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

      • BnfWordSelectioner

        public BnfWordSelectioner()
    • Method Detail

      • canSelect

        public boolean canSelect​(@NotNull
                                 @NotNull com.intellij.psi.PsiElement e)
        Specified by:
        canSelect in interface com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler
        Specified by:
        canSelect in class com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase
      • select

        public java.util.List<com.intellij.openapi.util.TextRange> select​(@NotNull
                                                                          @NotNull com.intellij.psi.PsiElement e,
                                                                          @NotNull
                                                                          @NotNull java.lang.CharSequence editorText,
                                                                          int cursorOffset,
                                                                          @NotNull
                                                                          @NotNull com.intellij.openapi.editor.Editor editor)
        Specified by:
        select in interface com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler
        Overrides:
        select in class com.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner