Class TextRangeHighlighter<T>
- java.lang.Object
-
- com.vladsch.plugin.util.ui.highlight.Highlighter<T>
-
- com.vladsch.plugin.util.ui.highlight.TypedRangeHighlighter<com.intellij.openapi.util.TextRange,T>
-
- com.vladsch.plugin.util.ui.highlight.TextRangeHighlighter<T>
-
public class TextRangeHighlighter<T> extends TypedRangeHighlighter<com.intellij.openapi.util.TextRange,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vladsch.plugin.util.ui.highlight.TypedRangeHighlighter
TypedRangeHighlighter.HighlighterAttributeConsumer<R>, TypedRangeHighlighter.RangeHighlighterCreationListener<R>
-
-
Field Summary
-
Fields inherited from class com.vladsch.plugin.util.ui.highlight.Highlighter
myEditor, myHighlighterIndexList, myHighlighters, myHighlightProvider
-
-
Constructor Summary
Constructors Constructor Description TextRangeHighlighter(@NotNull TypedRangeHighlightProvider<com.intellij.openapi.util.TextRange,T> highlightProvider, @NotNull com.intellij.openapi.editor.Editor editor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateAttributeRanges(@NotNull TypedRangeHighlighter.HighlighterAttributeConsumer<com.intellij.openapi.util.TextRange> consumer)com.intellij.openapi.editor.markup.TextAttributesgetAttributes(@Nullable com.intellij.openapi.editor.markup.TextAttributes attributes, com.intellij.openapi.util.TextRange range)protected booleanisHighlightAvailable()com.intellij.openapi.editor.markup.RangeHighlighterrangeHighlighterCreated(com.intellij.openapi.editor.markup.RangeHighlighter rangeHighlighter, com.intellij.openapi.util.TextRange range, int index)-
Methods inherited from class com.vladsch.plugin.util.ui.highlight.TypedRangeHighlighter
getIndexedRangeCount, getIndexedRangeCounts, updateHighlights
-
Methods inherited from class com.vladsch.plugin.util.ui.highlight.Highlighter
clearHighlighters, getIndex, getNextRangeHighlighter, getOriginalIndex, getPreviousRangeHighlighter, getRangeHighlighter, getRangeHighlighterIndex, removeHighlights, removeHighlightsRaw
-
-
-
-
Constructor Detail
-
TextRangeHighlighter
public TextRangeHighlighter(@NotNull @NotNull TypedRangeHighlightProvider<com.intellij.openapi.util.TextRange,T> highlightProvider, @NotNull @NotNull com.intellij.openapi.editor.Editor editor)
-
-
Method Detail
-
getAttributes
public com.intellij.openapi.editor.markup.TextAttributes getAttributes(@Nullable @Nullable com.intellij.openapi.editor.markup.TextAttributes attributes, com.intellij.openapi.util.TextRange range)
-
rangeHighlighterCreated
public com.intellij.openapi.editor.markup.RangeHighlighter rangeHighlighterCreated(com.intellij.openapi.editor.markup.RangeHighlighter rangeHighlighter, com.intellij.openapi.util.TextRange range, int index)
-
isHighlightAvailable
protected boolean isHighlightAvailable()
- Specified by:
isHighlightAvailablein classTypedRangeHighlighter<com.intellij.openapi.util.TextRange,T>
-
generateAttributeRanges
protected void generateAttributeRanges(@NotNull @NotNull TypedRangeHighlighter.HighlighterAttributeConsumer<com.intellij.openapi.util.TextRange> consumer)- Specified by:
generateAttributeRangesin classTypedRangeHighlighter<com.intellij.openapi.util.TextRange,T>
-
-