public interface MarkupModelEx extends MarkupModel
Modifier and Type | Method and Description |
---|---|
void |
addMarkupModelListener(Disposable parentDisposable,
MarkupModelListener listener) |
RangeHighlighterEx |
addPersistentLineHighlighter(int lineNumber,
int layer,
TextAttributes textAttributes) |
void |
addRangeHighlighter(RangeHighlighterEx marker,
int start,
int end,
boolean greedyToLeft,
boolean greedyToRight,
int layer) |
RangeHighlighterEx |
addRangeHighlighterAndChangeAttributes(int startOffset,
int endOffset,
int layer,
TextAttributes textAttributes,
HighlighterTargetArea targetArea,
boolean isPersistent,
Consumer<? super RangeHighlighterEx> changeAttributesAction) |
void |
changeAttributesInBatch(RangeHighlighterEx highlighter,
Consumer<? super RangeHighlighterEx> changeAttributesAction) |
boolean |
containsHighlighter(RangeHighlighter highlighter) |
void |
dispose() |
void |
fireAfterAdded(RangeHighlighterEx segmentHighlighter) |
void |
fireAttributesChanged(RangeHighlighterEx segmentHighlighter,
boolean renderersChanged,
boolean fontStyleChanged) |
void |
fireBeforeRemoved(RangeHighlighterEx segmentHighlighter) |
MarkupIterator<RangeHighlighterEx> |
overlappingIterator(int startOffset,
int endOffset) |
MarkupIterator<RangeHighlighterEx> |
overlappingIterator(int startOffset,
int endOffset,
boolean onlyRenderedInGutter,
boolean onlyRenderedInScrollBar) |
boolean |
processRangeHighlightersOutside(int start,
int end,
Processor<? super RangeHighlighterEx> processor) |
boolean |
processRangeHighlightersOverlappingWith(int start,
int end,
Processor<? super RangeHighlighterEx> processor) |
void |
setRangeHighlighterAttributes(RangeHighlighter highlighter,
TextAttributes textAttributes) |
addLineHighlighter, addRangeHighlighter, getAllHighlighters, getDocument, removeAllHighlighters, removeHighlighter
getUserData, putUserData
void dispose()
RangeHighlighterEx addPersistentLineHighlighter(int lineNumber, int layer, TextAttributes textAttributes)
void fireAttributesChanged(RangeHighlighterEx segmentHighlighter, boolean renderersChanged, boolean fontStyleChanged)
void fireAfterAdded(RangeHighlighterEx segmentHighlighter)
void fireBeforeRemoved(RangeHighlighterEx segmentHighlighter)
boolean containsHighlighter(RangeHighlighter highlighter)
void addRangeHighlighter(RangeHighlighterEx marker, int start, int end, boolean greedyToLeft, boolean greedyToRight, int layer)
void addMarkupModelListener(Disposable parentDisposable, MarkupModelListener listener)
void setRangeHighlighterAttributes(RangeHighlighter highlighter, TextAttributes textAttributes)
boolean processRangeHighlightersOverlappingWith(int start, int end, Processor<? super RangeHighlighterEx> processor)
boolean processRangeHighlightersOutside(int start, int end, Processor<? super RangeHighlighterEx> processor)
MarkupIterator<RangeHighlighterEx> overlappingIterator(int startOffset, int endOffset)
MarkupIterator<RangeHighlighterEx> overlappingIterator(int startOffset, int endOffset, boolean onlyRenderedInGutter, boolean onlyRenderedInScrollBar)
RangeHighlighterEx addRangeHighlighterAndChangeAttributes(int startOffset, int endOffset, int layer, TextAttributes textAttributes, HighlighterTargetArea targetArea, boolean isPersistent, Consumer<? super RangeHighlighterEx> changeAttributesAction)
void changeAttributesInBatch(RangeHighlighterEx highlighter, Consumer<? super RangeHighlighterEx> changeAttributesAction)