public class HighlightingService extends AbstractCachedService<HighlightingResult>
| Constructor and Description |
|---|
HighlightingService() |
| Modifier and Type | Method and Description |
|---|---|
HighlightingResult |
compute(IXtextWebDocument it,
org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Compute the highlighting result for the given document.
|
protected org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor |
createHighlightedPositionAcceptor(java.util.List<HighlightingResult.Region> positions) |
getResultpublic HighlightingResult compute(IXtextWebDocument it, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
AbstractCachedService.getResult(XtextWebDocumentAccess) instead
in order to avoid duplicate computations.compute in class AbstractCachedService<HighlightingResult>protected org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor createHighlightedPositionAcceptor(java.util.List<HighlightingResult.Region> positions)