Bug 47694 Local rename jumps to first occurence of name
plugin-export/I20031126.from20031127_1934 In QuickAssistProcessor, go to method 'getRenameLocalProposals', set the cursor in the name and invoke 'local rename'. The editor reveals the first occurence of this method (at the top of the editor). It should stay on the selected name. Seems to be a regression.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java
*/
	public void apply(ITextViewer viewer, char trigger, int stateMask, int offset) {
		try {
			
			CompilationUnit root= AST.parseCompilationUnit(fCompilationUnit, true);
			SimpleName nameNode= (SimpleName) NodeFinder.perform(root, fNode.getStartPosition(), fNode.getLength());
			ASTNode[] sameNodes= LinkedNodeFinder.perform(root, nameNode.resolveBinding());
			IDocument document= viewer.getDocument();
			
			LinkedPositionGroup group= new LinkedPositionGroup();
			for (int i= 0; i < sameNodes.length; i++) {
				ASTNode elem= sameNodes[i];
				group.createPosition(document, elem.getStartPosition(), elem.getLength(), i); 
			}
			
			LinkedEnvironment enviroment= LinkedEnvironment.createLinkedEnvironment(document);
			enviroment.addGroup(group);
			
			LinkedUIControl ui= new LinkedUIControl(enviroment, viewer);
			ui.setExitPosition(viewer, offset, 0, false);
			ui.enter();
			
			fSelectedRegion= ui.getSelectedRegion();
		} catch (BadLocationException e) {
		}
	}	
	/*
	 * @see ICompletionProposal#apply(IDocument)
	 */
	public void apply(IDocument document) {