Search in sources :

Example 1 with Highlighter

use of org.eclipse.wst.sse.ui.internal.provisional.style.Highlighter in project webtools.sourceediting by eclipse.

the class TestXSLLineStyleProvider method initializeProvider.

private LineStyleProvider initializeProvider() {
    LineStyleProvider[] lineStyleProviders = getLineStyleProviders();
    LineStyleProvider lineStyleProvider = lineStyleProviders[0];
    Highlighter highlighter = new Highlighter();
    lineStyleProvider.init(document, highlighter);
    return lineStyleProvider;
}
Also used : LineStyleProvider(org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider) Highlighter(org.eclipse.wst.sse.ui.internal.provisional.style.Highlighter)

Aggregations

Highlighter (org.eclipse.wst.sse.ui.internal.provisional.style.Highlighter)1 LineStyleProvider (org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider)1