Bug 133620 [FieldAssist] auto activation of proposal popup should be canceled on keystroke
I20060328-0010 Auto activation of the proposal popup should be canceled on keystroke. Steps: - open Find/Replace dialog, activate regex - type "\rrrrrrr" as fast as possible => after a few "r"s, the proposal popup appears at the last "r" inserted This is not the intent of the "auto activation with delay" feature. Auto activation is intended to help the user if he stops typing and starts to think about possible completions. It should be triggered when the user types "\" and then waits a while, but the popup should not appear when the user continues typing after the trigger character.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
/*
	 * A boolean that indicates whether key events received while the proposal
	 * popup is open should also be propagated to the control. Default value is
	 * true.
	 */
	private boolean propagateKeys = true;
	/*
	 * Integer that indicates the filtering style. One of FILTER_CHARACTER,
	 * FILTER_CUMULATIVE, FILTER_NONE.
	 */
	private int filterStyle = FILTER_NONE;
	/*
	 * The listener we install on the control.
	 */
	private Listener controlListener;
	/*
	 * The list of listeners who wish to be notified when something significant
	 * happens with the proposals.
	 */
	private ListenerList proposalListeners = new ListenerList();
	/*
	 * Flag that indicates whether the adapter is enabled. In some cases,
	 * adapters may be installed but depend upon outside state.
	 */
	private boolean isEnabled = true;
	/*
	 * The delay in milliseconds used when autoactivating the popup.
	 */
	private int autoActivationDelay = 0;