public class IterationState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IterationState.CaretData |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<RangeHighlighterEx> |
BY_LAYER_THEN_ATTRIBUTES |
Constructor and Description |
---|
IterationState(EditorEx editor,
int start,
int end,
IterationState.CaretData caretData,
boolean useOnlyFullLineHighlighters,
boolean useOnlyFontOrForegroundAffectingHighlighters,
boolean useFoldRegions,
boolean iterateBackwards) |
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
atEnd() |
static IterationState.CaretData |
createCaretData(EditorEx editor) |
TextAttributes |
getBeforeLineStartBackgroundAttributes() |
TextAttributes |
getBreakAttributes() |
TextAttributes |
getBreakAttributes(boolean beforeBreak) |
FoldRegion |
getCurrentFold() |
int |
getEndOffset() |
TextAttributes |
getMergedAttributes() |
TextAttributes |
getPastLineEndBackgroundAttributes() |
int |
getStartOffset() |
boolean |
nextIsFoldRegion() |
void |
retreat(int offset) |
public static final java.util.Comparator<RangeHighlighterEx> BY_LAYER_THEN_ATTRIBUTES
public IterationState(EditorEx editor, int start, int end, IterationState.CaretData caretData, boolean useOnlyFullLineHighlighters, boolean useOnlyFontOrForegroundAffectingHighlighters, boolean useFoldRegions, boolean iterateBackwards)
public static IterationState.CaretData createCaretData(EditorEx editor)
public void retreat(int offset)
public void advance()
public TextAttributes getBreakAttributes()
public TextAttributes getBreakAttributes(boolean beforeBreak)
public boolean atEnd()
public int getStartOffset()
public int getEndOffset()
public TextAttributes getMergedAttributes()
public FoldRegion getCurrentFold()
public boolean nextIsFoldRegion()
public TextAttributes getPastLineEndBackgroundAttributes()
public TextAttributes getBeforeLineStartBackgroundAttributes()