Package | Description |
---|---|
org.netbeans.spi.editor.highlighting |
The Highlighting SPI is a new way of influencing how text in an editor component
is rendered.
|
org.netbeans.spi.editor.highlighting.support |
The support package provides several implementations of the
HighlightsContainer interface. |
Modifier and Type | Interface and Description |
---|---|
interface |
SplitOffsetHighlightsSequence
Highlights sequence that supports split offsets in addition to regular offsets.
|
Modifier and Type | Field and Description |
---|---|
static HighlightsSequence |
HighlightsSequence.EMPTY
An empty
HighlightsSequence . |
Modifier and Type | Method and Description |
---|---|
HighlightsSequence |
HighlightsContainer.getHighlights(int startOffset,
int endOffset)
Provides the list of highlighted areas that should be used for rendering
a document.
|
Modifier and Type | Method and Description |
---|---|
HighlightsSequence |
OffsetsBag.getHighlights(int startOffset,
int endOffset)
Gets highlights from an area of a document.
|
HighlightsSequence |
PositionsBag.getHighlights(int startOffset,
int endOffset)
Gets highlights from an area of a document.
|
abstract HighlightsSequence |
AbstractHighlightsContainer.getHighlights(int startOffset,
int endOffset) |
Modifier and Type | Method and Description |
---|---|
void |
OffsetsBag.addAllHighlights(HighlightsSequence bag)
Adds all highlights from the bag passed in.
|
void |
OffsetsBag.setHighlights(HighlightsSequence seq)
Resets this bag to use the new set of highlights.
|