All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
SemanticEditorPosition |
after() |
SemanticEditorPosition |
afterOptional(SemanticEditorPosition.SyntaxElement syntaxElement) |
SemanticEditorPosition |
afterOptionalMix(SemanticEditorPosition.SyntaxElement... elements) |
SemanticEditorPosition |
before() |
SemanticEditorPosition |
beforeOptional(SemanticEditorPosition.SyntaxElement syntaxElement) |
SemanticEditorPosition |
beforeOptionalMix(SemanticEditorPosition.SyntaxElement... elements) |
SemanticEditorPosition |
beforeParentheses(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis) |
SemanticEditorPosition |
copy() |
SemanticEditorPosition |
copyAnd(java.util.function.Consumer<? super SemanticEditorPosition> modifier) |
static SemanticEditorPosition |
createEditorPosition(EditorEx editor,
int offset,
java.util.function.BiFunction<? super EditorEx,? super java.lang.Integer,? extends HighlighterIterator> createHighlighterIteratorAtOffset,
java.util.function.Function<IElementType,SemanticEditorPosition.SyntaxElement> typeMapper) |
SemanticEditorPosition.SyntaxElement |
elementAfterOnSameLine(SemanticEditorPosition.SyntaxElement... syntaxElements) |
SemanticEditorPosition |
findLeftParenthesisBackwardsSkippingNested(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis) |
SemanticEditorPosition |
findLeftParenthesisBackwardsSkippingNestedWithPredicate(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis,
java.util.function.Predicate<? super SemanticEditorPosition> terminationCondition) |
int |
findStartOf(SemanticEditorPosition.SyntaxElement element) |
java.lang.CharSequence |
getChars() |
SemanticEditorPosition.SyntaxElement |
getCurrElement() |
EditorEx |
getEditor() |
Language |
getLanguage() |
int |
getStartOffset() |
boolean |
hasEmptyLineAfter(int offset) |
boolean |
hasLineBreaksAfter(int offset)
Checks if there are line breaks strictly after the given offset till the end of the current element.
|
boolean |
isAfterOnSameLine(SemanticEditorPosition.SyntaxElement... syntaxElements) |
boolean |
isAt(IElementType elementType) |
boolean |
isAt(SemanticEditorPosition.SyntaxElement syntaxElement) |
boolean |
isAtAnyOf(SemanticEditorPosition.SyntaxElement... syntaxElements) |
boolean |
isAtEnd() |
boolean |
isAtLanguage(Language language) |
boolean |
isAtMultiline() |
boolean |
isAtMultiline(SemanticEditorPosition.SyntaxElement... elements) |
SemanticEditorPosition.SyntaxElement |
map(IElementType elementType) |
boolean |
matchesRule(SemanticEditorPosition.Rule rule) |
void |
moveAfter() |
void |
moveAfterOptional(SemanticEditorPosition.SyntaxElement syntaxElement) |
void |
moveAfterOptionalMix(SemanticEditorPosition.SyntaxElement... elements) |
void |
moveBefore() |
void |
moveBeforeOptional(SemanticEditorPosition.SyntaxElement syntaxElement) |
void |
moveBeforeOptionalMix(SemanticEditorPosition.SyntaxElement... elements) |
void |
moveBeforeParentheses(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis) |
void |
moveToLeftParenthesisBackwardsSkippingNested(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis) |
void |
moveToLeftParenthesisBackwardsSkippingNestedWithPredicate(SemanticEditorPosition.SyntaxElement leftParenthesis,
SemanticEditorPosition.SyntaxElement rightParenthesis,
java.util.function.Predicate<? super SemanticEditorPosition> terminationCondition) |
java.lang.String |
toString() |