public class CodeBlockOrInitializerSelectioner extends BasicSelectioner
EP_NAME| Constructor and Description |
|---|
CodeBlockOrInitializerSelectioner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSelect(PsiElement e) |
static int |
findClosingBrace(PsiElement[] children,
int startOffset) |
static int |
findOpeningBrace(PsiElement[] children) |
TextRange |
getElementRange(PsiElement e) |
java.util.List<TextRange> |
select(PsiElement e,
java.lang.CharSequence editorText,
int cursorOffset,
Editor editor) |
canSelectBasicexpandToWholeLine, expandToWholeLine, expandToWholeLinesWithBlanks, getMinimalTextRangeLengthpublic boolean canSelect(PsiElement e)
canSelect in interface ExtendWordSelectionHandlercanSelect in class BasicSelectionerpublic java.util.List<TextRange> select(PsiElement e, java.lang.CharSequence editorText, int cursorOffset, Editor editor)
select in interface ExtendWordSelectionHandlerselect in class ExtendWordSelectionHandlerBasepublic TextRange getElementRange(PsiElement e)
public static int findOpeningBrace(PsiElement[] children)
public static int findClosingBrace(PsiElement[] children, int startOffset)