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/Policy.java
package org.eclipse.e4.workbench.ui.internal;
/**
 * A common facility for parsing the
 * <code>org.eclipse.e4.ui.workbench/.options</code> file.
 * 
 */
public class Policy {
	public static final String DEBUG = "/debug"; 
	public static final String DEBUG_CMDS = "/trace/commands"; 
	public static final String DEBUG_MENUS = "/trace/menus"; 
	public static final String DEBUG_CONTEXTS = "/trace/eclipse.context"; 
	public static final String DEBUG_WORKBENCH = "/trace/workbench"; 
	public static final String DEBUG_RENDERER = "/trace/renderer"; 
}