/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
/** * Creates a new synchronizer. * * @param editor the java editor the occurrences markers of which will be * synchronized with the linked mode * */ public EditorHighlightingSynchronizer(JavaEditor editor) { Assert.isLegal(editor != null); fEditor= editor; fWasOccurrencesOn= fEditor.isMarkingOccurrences(); if (fWasOccurrencesOn && !isEditorDisposed()) fEditor.uninstallOccurrencesFinder(); }
fMarkOccurrenceAnnotations= newBooleanValue; if (!fMarkOccurrenceAnnotations) uninstallOccurrencesFinder(); else installOccurrencesFinder(true);
fMarkOccurrenceAnnotations= newBooleanValue; if (!fMarkOccurrenceAnnotations) uninstallOccurrencesFinder(); else installOccurrencesFinder(true);
fMarkOccurrenceAnnotations= newBooleanValue; if (!fMarkOccurrenceAnnotations) uninstallOccurrencesFinder(); else installOccurrencesFinder(true);