Bug 192633 [FieldAssist] auto-activated proposal popup should be closed when trigger character is removed
I20070608-1718 Auto-activated proposal popup should be closed when trigger character is removed. Steps: - open Find/Replace dialog, activate regex - type "\" or "\r" - when proposals appear, press Backspace until field is empty again Was: Proposals stay up Expected: Proposals should disappear when the triggering character is removed. This is also what happens in the Java Editor.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
}
			
			/*
			 * (non-Javadoc)
			 * @see org.eclipse.jface.dialogs.PopupDialog#getBackground()
			 */
			protected Color getBackground() {
				return control.getDisplay().
						getSystemColor(SWT.COLOR_INFO_BACKGROUND);
			}
			/*
			 * Set the text contents of the popup.
			 */
			void setContents(String newContents) {
				if (newContents == null) {
					newContents = EMPTY;
				}
				this.contents = newContents;
				if (text != null && !text.isDisposed()) {
					text.setText(contents);
				}
			}
			/*
			 * Return whether the popup has focus.
			 */
			boolean hasFocus() {
				if (text == null || text.isDisposed()) {
					return false;
				}
				return text.getShell().isFocusControl()