use of org.eclipse.jface.text.presentation.PresentationReconciler in project eclipse.platform.text by eclipse.
the class SourceViewerConfiguration method getPresentationReconciler.
/**
* Returns the presentation reconciler ready to be used with the given source viewer.
*
* @param sourceViewer the source viewer
* @return the presentation reconciler or <code>null</code> if presentation reconciling should not be supported
*/
public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer) {
PresentationReconciler reconciler = new PresentationReconciler();
reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
return reconciler;
}
Aggregations