Search in sources :

Example 1 with SyntaxReconcilingStrategy

use of org.eclipse.linuxtools.internal.docker.editor.syntax.SyntaxReconcilingStrategy in project linuxtools by eclipse.

the class DockerConfiguration method getReconciler.

@Override
public IReconciler getReconciler(ISourceViewer sourceViewer) {
    Reconciler reconciler = new Reconciler();
    IReconcilingStrategy strategy = new SyntaxReconcilingStrategy(editor);
    reconciler.setReconcilingStrategy(strategy, IDocument.DEFAULT_CONTENT_TYPE);
    return reconciler;
}
Also used : SyntaxReconcilingStrategy(org.eclipse.linuxtools.internal.docker.editor.syntax.SyntaxReconcilingStrategy) Reconciler(org.eclipse.jface.text.reconciler.Reconciler) IPresentationReconciler(org.eclipse.jface.text.presentation.IPresentationReconciler) IReconciler(org.eclipse.jface.text.reconciler.IReconciler) IReconcilingStrategy(org.eclipse.jface.text.reconciler.IReconcilingStrategy)

Aggregations

IPresentationReconciler (org.eclipse.jface.text.presentation.IPresentationReconciler)1 IReconciler (org.eclipse.jface.text.reconciler.IReconciler)1 IReconcilingStrategy (org.eclipse.jface.text.reconciler.IReconcilingStrategy)1 Reconciler (org.eclipse.jface.text.reconciler.Reconciler)1 SyntaxReconcilingStrategy (org.eclipse.linuxtools.internal.docker.editor.syntax.SyntaxReconcilingStrategy)1