Bug 19525 Outline selection should not synchronize on editor activation
Build F2. Selection in outline for Java editors is always synchronized to reveal the current cursor position after an editor is activated. This is true even when Java > Editor pref setting for "synchronize outline selection on cursor move" is not selected. Try opening two Java source files. Position the cursor inside the class name on one of the imports. Switch to other editor in the editor area and switch back to the first editor. Outline selection should change to reveal the import the cursor is on. I think this is new behavior in F2, I didn't notice it in F1. Outline selection should only change if the preference is selected, I expect it to not change any of its state otherwise.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java
package org.eclipse.jdt.internal.ui.text.java;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.reconciler.DirtyRegion;
import org.eclipse.jface.text.reconciler.IReconcilingStrategy;
import org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension;
import org.eclipse.jface.text.source.IAnnotationModel;
import org.eclipse.ui.texteditor.IDocumentProvider;
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IProblemRequestor;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.IWorkingCopyManager;
import org.eclipse.jdt.internal.core.WorkingCopy;
import org.eclipse.jdt.internal.ui.JavaPlugin;
public class JavaReconcilingStrategy implements IReconcilingStrategy, IReconcilingStrategyExtension {