public class SelectWordUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SelectWordUtil.CharCondition |
Modifier and Type | Field and Description |
---|---|
static SelectWordUtil.CharCondition |
JAVA_IDENTIFIER_PART_CONDITION |
Modifier and Type | Method and Description |
---|---|
static void |
addWordHonoringEscapeSequences(java.lang.CharSequence editorText,
TextRange literalTextRange,
int cursorOffset,
Lexer lexer,
java.util.List<? super TextRange> result) |
static void |
addWordOrLexemeSelection(boolean camel,
Editor editor,
int cursorOffset,
java.util.List<? super TextRange> ranges) |
static void |
addWordOrLexemeSelection(boolean camel,
Editor editor,
int cursorOffset,
java.util.List<? super TextRange> ranges,
SelectWordUtil.CharCondition isWordPartCondition) |
static void |
addWordSelection(boolean camel,
java.lang.CharSequence editorText,
int cursorOffset,
java.util.List<? super TextRange> ranges) |
static void |
addWordSelection(boolean camel,
java.lang.CharSequence editorText,
int cursorOffset,
java.util.List<? super TextRange> ranges,
SelectWordUtil.CharCondition isWordPartCondition) |
static TextRange |
getWordOrLexemeSelectionRange(Editor editor,
int cursorOffset,
SelectWordUtil.CharCondition isWordPartCondition) |
static TextRange |
getWordSelectionRange(java.lang.CharSequence editorText,
int cursorOffset,
SelectWordUtil.CharCondition isWordPartCondition) |
static void |
processRanges(PsiElement element,
java.lang.CharSequence text,
int cursorOffset,
Editor editor,
Processor<? super TextRange> consumer) |
public static final SelectWordUtil.CharCondition JAVA_IDENTIFIER_PART_CONDITION
public static void addWordSelection(boolean camel, java.lang.CharSequence editorText, int cursorOffset, java.util.List<? super TextRange> ranges)
public static void addWordOrLexemeSelection(boolean camel, Editor editor, int cursorOffset, java.util.List<? super TextRange> ranges)
public static void addWordSelection(boolean camel, java.lang.CharSequence editorText, int cursorOffset, java.util.List<? super TextRange> ranges, SelectWordUtil.CharCondition isWordPartCondition)
public static void addWordOrLexemeSelection(boolean camel, Editor editor, int cursorOffset, java.util.List<? super TextRange> ranges, SelectWordUtil.CharCondition isWordPartCondition)
public static TextRange getWordOrLexemeSelectionRange(Editor editor, int cursorOffset, SelectWordUtil.CharCondition isWordPartCondition)
public static TextRange getWordSelectionRange(java.lang.CharSequence editorText, int cursorOffset, SelectWordUtil.CharCondition isWordPartCondition)
public static void processRanges(PsiElement element, java.lang.CharSequence text, int cursorOffset, Editor editor, Processor<? super TextRange> consumer)