Bug 10247 Template - code assist ends template editing
Build > 20020214.1 Create the following class import java.util.List; public class T { public List getList() { return null; } public void foo() { T t= null; for <= code assist } } - select for - iterate over collection - press tab - type t.get <= code assist - select getList observe: template editing gets ended.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/LinkedPositionUI.java
leave(UNINSTALL | COMMIT | UPDATE_CARET);
					return;
				}
			}
		
			if (event.stateMask == SWT.SHIFT)
				previous();
			else 
				next();			
			
			event.doit= false;
			break;
		
		case 0x1B:
			leave(UNINSTALL);
			event.doit= false;
			break;
		}
	}
	/*
	 * @see VerifyListener#verifyText(VerifyEvent)
	 */
	public void verifyText(VerifyEvent event) {
		if (!event.doit)
			return;
		IRegion region= fViewer.getVisibleRegion();
		int offset= event.start + region.getOffset();
		int length= event.end - event.start;
		
		if (!fManager.anyPositionIncludes(offset, length))