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
/**
	 * Set the boolean flag that determines whether the adapter is enabled.
	 * 
	 * @param enabled
	 *            <code>true</code> if the adapter is enabled and responding
	 *            to user input, <code>false</code> if it is ignoring user
	 *            input.
	 * 
	 */
	public void setEnabled(boolean enabled) {
		
		
		if (isEnabled && !enabled) {
			if (popup != null) {
				popup.close();
			}
		}
		isEnabled = enabled;
	}
	/**
	 * Add the specified listener to the list of content proposal listeners that
	 * are notified when content proposals are chosen.
	 * </p>
	 * 
	 * @param listener
	 *            the IContentProposalListener to be added as a listener. Must
	 *            not be <code>null</code>. If an attempt is made to register
	 *            an instance which is already registered with this instance,
	 *            this method has no effect.
	 *