| Package | Description |
|---|---|
| org.eclipse.xtext.ui.editor.syntaxcoloring |
| Modifier and Type | Method and Description |
|---|---|
AttributedPosition |
HighlightingPresenter.createHighlightedPosition(int offset,
int length,
org.eclipse.jface.text.TextAttribute highlighting)
Creates and returns a new highlighted position with the given offset, length and highlighting.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HighlightingPresenter.updatePresentation(org.eclipse.jface.text.TextPresentation textPresentation,
AttributedPosition[] addedPositions,
AttributedPosition[] removedPositions)
Invalidate the presentation of the positions based on the given added positions and the existing deleted
positions.
|
void |
HighlightingPresenter.updatePresentation(org.eclipse.jface.text.TextPresentation textPresentation,
AttributedPosition[] addedPositions,
AttributedPosition[] removedPositions)
Invalidate the presentation of the positions based on the given added positions and the existing deleted
positions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HighlightingPresenter.addAllPositions(List<AttributedPosition> list)
Adds all current positions to the given list.
|
protected int |
HighlightingPresenter.computeIndexAfterOffset(List<AttributedPosition> positions,
int offset)
Returns the index of the first position with an offset greater than the given offset.
|
protected int |
HighlightingPresenter.computeIndexAtOffset(List<AttributedPosition> positions,
int offset)
Returns the index of the first position with an offset equal or greater than the given offset.
|
protected int |
HighlightingPresenter.computeIndexEndingAtOrEnclosingOffset(List<AttributedPosition> positions,
int offset)
Returns the index of the first position with an offset equal or greater than the given offset.
|
org.eclipse.jface.text.TextPresentation |
HighlightingPresenter.createPresentation(List<AttributedPosition> addedPositions,
List<AttributedPosition> removedPositions)
Create a text presentation in the background.
|
org.eclipse.jface.text.TextPresentation |
HighlightingPresenter.createPresentation(List<AttributedPosition> addedPositions,
List<AttributedPosition> removedPositions)
Create a text presentation in the background.
|
Runnable |
HighlightingPresenter.createUpdateRunnable(org.eclipse.jface.text.TextPresentation textPresentation,
List<AttributedPosition> addedPositions,
List<AttributedPosition> removedPositions)
Create a runnable for updating the presentation.
|
Runnable |
HighlightingPresenter.createUpdateRunnable(org.eclipse.jface.text.TextPresentation textPresentation,
List<AttributedPosition> addedPositions,
List<AttributedPosition> removedPositions)
Create a runnable for updating the presentation.
|
Copyright © 2016. All Rights Reserved.