public static class ISemanticHighlightingCalculator.NewToOldDelegate extends Object implements ISemanticHighlightingCalculator
ISemanticHighlightingCalculator.NewToOldDelegate| Constructor and Description |
|---|
ISemanticHighlightingCalculator.NewToOldDelegate(ISemanticHighlightingCalculator delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
provideHighlightingFor(XtextResource resource,
IHighlightedPositionAcceptor acceptor) |
public ISemanticHighlightingCalculator.NewToOldDelegate(ISemanticHighlightingCalculator delegate)
public void provideHighlightingFor(XtextResource resource, IHighlightedPositionAcceptor acceptor)
provideHighlightingFor in interface ISemanticHighlightingCalculatorresource - the resource that will be highlighted. May be null in some rare cases.acceptor - used to announce the mapping from text-range to the style's id. The acceptor will never be null.Copyright © 2016. All Rights Reserved.