Bug 284675 [Compatibility] background editor appears to get commands
After a while and an undetermined set of steps, commands executed (like cut, copy, paste, content assist) don't do anything in the "active" editor but effect a previous editor. Due to the way the lookup currently works, it is mostly likely caused by the change to that editor is not updating the IEclipseContext ACTIVE_CHILD (so the commands are being retrieved from the previous editor). PW
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Activator.java
private DebugTrace trace;
	/**
	 * Get the default activator.
	 * 
	 * @return a BundleActivator
	 */
	public static Activator getDefault() {
		return activator;
	}
	/**
	 * @return the bundle object
	 */
	public Bundle getBundle() {
		return context.getBundle();
	}
	/**
	 * @return the PackageAdmin service from this bundle
	 */
	public PackageAdmin getBundleAdmin() {
		if (pkgAdminTracker == null) {
			if (context == null)
				return null;
			pkgAdminTracker = new ServiceTracker(context, PackageAdmin.class.getName(), null);
			pkgAdminTracker.open();
		}
		return (PackageAdmin) pkgAdminTracker.getService();
	}
	/**
	 * @param bundleName
	 *            the bundle id