Bug 48069 [reconciling] Reconciling too much
Build 20031202 Whenever the editor gains focus; it is triggering a forced reconciliation. This is too naive, and wastes lots of cycles. e.g.: - open editor - select one element in outliner - go back to editor A reconciliation is triggered even though nothing has changed which requires this.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaReconciler.java
}
	
	/**
	 * Internal Shell activation listener for activating the reconciler.
	 */
	class ActivationListener extends ShellAdapter {
		
		private Control fControl;
		
		public ActivationListener(Control control) {
			fControl= control;
		}
		
		/*
		 * @see org.eclipse.swt.events.ShellAdapter#shellActivated(org.eclipse.swt.events.ShellEvent)
		 */
		public void shellActivated(ShellEvent e) {
			if (!fControl.isDisposed() && fControl.isVisible())
				JavaReconciler.this.forceReconciling();
		}
	}
	
	
	private ITextEditor fTextEditor;
	
	private IPartListener fPartListener;
	
	private ShellListener fActivationListener;