Bug 53010 Editor preferences do not take effect on open editors
I-20040224 Go to the Java > Editor > Syntax preference page. Change the keyword color to red. Press Ok. At this point, we use to see the preview update. Not on this build (problem #1). Press Ok, and close the pref dialog. The java editor that was already open did not update. I had to close it and reopen it for the colors to take effect (problem #2)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
protected boolean affectsBehavior(PropertyChangeEvent event) {
		JavaSourceViewerConfiguration configuration= (JavaSourceViewerConfiguration) getSourceViewerConfiguration();
		return  ((AbstractJavaScanner) configuration.getCodeScanner()).affectsBehavior(event)
			|| ((AbstractJavaScanner) configuration.getMultilineCommentScanner()).affectsBehavior(event)
			|| ((AbstractJavaScanner) configuration.getSinglelineCommentScanner()).affectsBehavior(event)
			|| ((AbstractJavaScanner) configuration.getStringScanner()).affectsBehavior(event)
			|| ((AbstractJavaScanner) configuration.getJavaDocScanner()).affectsBehavior(event);
	}
	
	/**
	 * Adapts the behavior of the contained components to the change
	 * encoded in the given event.
	 * 
	 * @param event the event to which to adapt
	 * @since 3.0
	 */
	private void adaptTaskTagDependents(PropertyChangeEvent event) {
		JavaSourceViewerConfiguration svc= (JavaSourceViewerConfiguration) getSourceViewerConfiguration();
		if (((AbstractJavaScanner) svc.getCodeScanner()).affectsBehavior(event))
			((AbstractJavaScanner) svc.getCodeScanner()).adaptToPreferenceChange(event);
		if (((AbstractJavaScanner) svc.getMultilineCommentScanner()).affectsBehavior(event))
			((AbstractJavaScanner) svc.getMultilineCommentScanner()).adaptToPreferenceChange(event);
		if (((AbstractJavaScanner) svc.getSinglelineCommentScanner()).affectsBehavior(event))
			((AbstractJavaScanner) svc.getSinglelineCommentScanner()).adaptToPreferenceChange(event);
		if (((AbstractJavaScanner) svc.getStringScanner()).affectsBehavior(event))
			((AbstractJavaScanner) svc.getStringScanner()).adaptToPreferenceChange(event);
		if (((AbstractJavaScanner) svc.getJavaDocScanner()).affectsBehavior(event))
			((AbstractJavaScanner) svc.getJavaDocScanner()).adaptToPreferenceChange(event);
	}
	/**