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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canSelect(@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

    Methods inherited from class java.lang.Object

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

    • BnfWordSelectioner

      public BnfWordSelectioner()
  • Method Details

    • 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 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:
      select in interface com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler
      Overrides:
      select in class com.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner