Bug 47097 [content assist] Pressing Semicolon to commit content assist bypasses smart semicolon
When content assist is present, semicolon will commit the current proposal. But, the semicolon is not processed in the normal manner by the editor. setValue(rect.wid<<ASSIST>>) pressing ";" should add the semicolon at the end of the line when smart semicolon is enabled. 3.0 M4
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
int index= string.indexOf("()"); 
				if (index != -1 && index + 1 == fCursorPosition) {
					IPreferenceStore preferenceStore= JavaPlugin.getDefault().getPreferenceStore();
					if (preferenceStore.getBoolean(PreferenceConstants.EDITOR_CLOSE_BRACKETS)) {
						int newOffset= fReplacementOffset + fCursorPosition;
						
						LinkedPositionGroup group= new LinkedPositionGroup();
						group.addPosition(new LinkedPosition(document, newOffset, 0, LinkedPositionGroup.NO_STOP));
						
						LinkedModeModel model= new LinkedModeModel();
						model.addGroup(group);
						model.forceInstall();
						
						LinkedModeUI ui= new EditorLinkedModeUI(model, fTextViewer);
						ui.setSimpleMode(true);
						ui.setExitPolicy(new ExitPolicy(')'));
						ui.setExitPosition(fTextViewer, newOffset + 1, 0, Integer.MAX_VALUE);
						ui.setCyclingMode(LinkedModeUI.CYCLE_NEVER);
						ui.enter();
					}
				}
			}
		} catch (BadLocationException x) {
			
		}		
	}
	/**
	 * A class to simplify tracking a reference position in a document. 
	 */
	private static final class ReferenceTracker {