Bug 133536 [Field Assist] - PageUp and PageDown in ContentAssistFields change combo contents
I20060328-0010 To reproduce: - open Find/Replace dialog - find some text, such that the MRU combo for the Find field contains something - enable regex - invoke content assist in Find field => pressing PageUp or PageDown changes the Find field text as welll => pressing Home or End moves the caret in the Find field as well All these keys should only move the selection in the popup list.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
if (isValid()) {
			
			
			
			
			if (insertionPos != -1) {
				controlContentAdapter.setCursorPosition(control, insertionPos);
			}
			controlContentAdapter.insertControlContents(control, text,
					cursorPosition);
		}
	}
	/*
	 * Check that the control and content adapter are valid.
	 */
	private boolean isValid() {
		return control != null && !control.isDisposed()
				&& controlContentAdapter != null;
	}
	/*
	 * Record the control's cursor position.
	 */
	private void recordCursorPosition() {
		if (isValid()) {
			insertionPos = getControlContentAdapter()
					.getCursorPosition(control);
		}
	}
}