use of org.eclipse.titan.designer.editors.IntervallBasedDamagerRepairer in project titan.EclipsePlug-ins by eclipse.
the class Configuration method getPresentationReconciler.
@Override
public IPresentationReconciler getPresentationReconciler(final ISourceViewer sourceViewer) {
if (presentationReconciler == null) {
presentationReconciler = new PresentationReconciler();
presentationReconciler.setDocumentPartitioning(PartitionScanner.TTCN3_PARTITIONING);
IntervallBasedDamagerRepairer dr = new IntervallBasedDamagerRepairer(new CodeScanner(colorManager));
presentationReconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
presentationReconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
}
return presentationReconciler;
}
use of org.eclipse.titan.designer.editors.IntervallBasedDamagerRepairer in project titan.EclipsePlug-ins by eclipse.
the class Configuration method getPresentationReconciler.
@Override
public IPresentationReconciler getPresentationReconciler(final ISourceViewer sourceViewer) {
if (presentationReconciler == null) {
presentationReconciler = new PresentationReconciler();
presentationReconciler.setDocumentPartitioning(PartitionScanner.TTCNPP_PARTITIONING);
IntervallBasedDamagerRepairer dr = new IntervallBasedDamagerRepairer(new CodeScanner(colorManager));
presentationReconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
presentationReconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
}
return presentationReconciler;
}
use of org.eclipse.titan.designer.editors.IntervallBasedDamagerRepairer in project titan.EclipsePlug-ins by eclipse.
the class Configuration method getPresentationReconciler.
@Override
public IPresentationReconciler getPresentationReconciler(final ISourceViewer sourceViewer) {
PresentationReconciler reconciler = new PresentationReconciler();
reconciler.setDocumentPartitioning(PartitionScanner.CONFIG_PARTITIONING);
IntervallBasedDamagerRepairer dr = new IntervallBasedDamagerRepairer(new CodeScanner(colorManager));
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
return reconciler;
}
use of org.eclipse.titan.designer.editors.IntervallBasedDamagerRepairer in project titan.EclipsePlug-ins by eclipse.
the class Configuration method getPresentationReconciler.
@Override
public IPresentationReconciler getPresentationReconciler(final ISourceViewer sourceViewer) {
PresentationReconciler presentationReconciler = new PresentationReconciler();
presentationReconciler.setDocumentPartitioning(PartitionScanner.ASN1_PARTITIONING);
IntervallBasedDamagerRepairer dr = new IntervallBasedDamagerRepairer(new CodeScanner(colorManager));
presentationReconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
presentationReconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
return presentationReconciler;
}
Aggregations