use of org.erlide.ui.editors.internal.reconciling.ErlReconcilingStrategy in project erlide_eclipse by erlang.
the class ErlangSourceViewerConfiguration method getReconciler.
@Override
public IReconciler getReconciler(final ISourceViewer sourceViewer) {
final ErlReconcilingStrategy strategy = new ErlReconcilingStrategy(null);
final IErlModule module = null;
final String path = null;
final ErlReconciler reconciler = new ErlReconciler(strategy, true, true, path, module, null);
reconciler.setProgressMonitor(new NullProgressMonitor());
reconciler.setIsAllowedToModifyDocument(false);
reconciler.setDelay(500);
return reconciler;
}
use of org.erlide.ui.editors.internal.reconciling.ErlReconcilingStrategy in project erlide_eclipse by erlang.
the class EditorConfiguration method getReconciler.
@Override
public IReconciler getReconciler(final ISourceViewer sourceViewer) {
final ErlReconcilingStrategy strategy = new ErlReconcilingStrategy(editor);
final IErlModule module = editor != null ? editor.getModule() : null;
final String path = module != null ? module.getFilePath() : null;
reconciler = new ErlReconciler(strategy, true, true, path, module, getEditor());
reconciler.setProgressMonitor(new NullProgressMonitor());
reconciler.setIsAllowedToModifyDocument(false);
reconciler.setDelay(500);
return reconciler;
}
Aggregations