Java Code Examples for org.eclipse.jface.text.reconciler.MonoReconciler#setIsIncrementalReconciler()
The following examples show how to use
org.eclipse.jface.text.reconciler.MonoReconciler#setIsIncrementalReconciler() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PyEditConfigurationWithoutEditor.java From Pydev with Eclipse Public License 1.0 | 6 votes |
@Override public IReconciler getReconciler(ISourceViewer sourceViewer) { if (fPreferenceStore == null || !fPreferenceStore.getBoolean(SpellingService.PREFERENCE_SPELLING_ENABLED)) { return null; } SpellingService spellingService = EditorsUI.getSpellingService(); if (spellingService.getActiveSpellingEngineDescriptor(fPreferenceStore) == null) { return null; } //Overridden (just) to return a PyReconciler! IReconcilingStrategy strategy = new PyReconciler(sourceViewer, spellingService); MonoReconciler reconciler = new MonoReconciler(strategy, false); reconciler.setIsIncrementalReconciler(false); reconciler.setProgressMonitor(new NullProgressMonitor()); reconciler.setDelay(500); return reconciler; }
Example 2
Source File: CommitCommentArea.java From APICloud-Studio with GNU General Public License v3.0 | 5 votes |
public IReconciler getReconciler(ISourceViewer sourceViewer) { MonoReconciler reconciler = new MonoReconciler(strategy, false); reconciler.setIsIncrementalReconciler(false); reconciler.setProgressMonitor(new NullProgressMonitor()); reconciler.setDelay(200); return reconciler; }