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/ComboContentAdapter.java
.setSelection(new Point(cursorPosition, cursorPosition));
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.fieldassist.IControlContentAdapter#insertControlContents(org.eclipse.swt.widgets.Control,
	 *      java.lang.String, int)
	 */
	public void insertControlContents(Control control, String text,
			int cursorPosition) {
		Combo combo = (Combo) control;
		String contents = combo.getText();
		Point selection = combo.getSelection();
		StringBuffer sb = new StringBuffer();
		sb.append(contents.substring(0, selection.x));
		sb.append(text);
		if (selection.y < contents.length()) {
			sb.append(contents.substring(selection.y, contents.length()));
		}
		combo.setText(sb.toString());
		selection.x = selection.x + cursorPosition;
		selection.y = selection.x;
		combo.setSelection(selection);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.fieldassist.IControlContentAdapter#getCursorPosition(org.eclipse.swt.widgets.Control)
	 */
	public int getCursorPosition(Control control) {