Bug 139063 [Field Assist] - API - behavior of text insert not taking selection into account
Field Assist Example - set acceptance style to "Insert into field content" - type some text into the text and combo - select a subset of the text and invoke content assist - choose a proposal in the popup outcome: text is inserted at the insertion point expected: text should be inserted, but should replace any selected text Is this a regression?
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
} else {
					
					
					e.doit = propagateKeys;
				}
				
				if (key == 0) {
					int newSelection = proposalTable.getSelectionIndex();
					int visibleRows = (proposalTable.getSize().y / proposalTable
							.getItemHeight()) - 1;
					switch (e.keyCode) {
					case SWT.ARROW_UP:
						newSelection -= 1;
						if (newSelection < 0) {
							newSelection = proposalTable.getItemCount() - 1;
						}
						
						
						if (e.type == SWT.KeyDown) {
							
							e.doit = false;
						}
						break;
					case SWT.ARROW_DOWN:
						newSelection += 1;
						if (newSelection > proposalTable.getItemCount() - 1) {
							newSelection = 0;
						}