public class JavaWordBoundaryFilter extends WordBoundaryFilter
| Constructor and Description |
|---|
JavaWordBoundaryFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWordBoundary(IElementType previousTokenType,
IElementType tokenType)
Given types of two distinct subsequent tokens returned by
HighlighterIterator.getTokenType(), says whether a boundary
between them should be recognized by 'Move Caret to Prev/Next Word' actions. |
public boolean isWordBoundary(IElementType previousTokenType, IElementType tokenType)
WordBoundaryFilterHighlighterIterator.getTokenType(), says whether a boundary
between them should be recognized by 'Move Caret to Prev/Next Word' actions.
Default implementation assumes a word boundary between any two distinct tokens. Override this method to adjust the logic to the specifics of particular programming language.
isWordBoundary in class WordBoundaryFilterHighlighterIterator,
EditorHighlighter