Bug 40009 [templates][typing] quote cancels template parameters
define a template as follows ----------------------------- method(${parameter},${paramter2}); ----------------------------- when using the above template if you put string as the first parameter and the auto-closing of quotes is enabled eg. ---------------------------- method("hello",parameter2); ---------------------------- when you press tab the second parameter is not highlighted!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
}
		/*
		 * @see org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI.ExitPolicy#doExit(org.eclipse.jdt.internal.ui.text.link.LinkedPositionManager, org.eclipse.swt.events.VerifyEvent, int, int)
		 */
		public ExitFlags doExit(LinkedPositionManager manager, VerifyEvent event, int offset, int length) {
			
			if (event.character == fExitCharacter) {
				
				if (fSize == fStack.size() && !isMasked(offset)) {
					if (manager.anyPositionIncludes(offset, length))
						return new ExitFlags(LinkedPositionUI.COMMIT| LinkedPositionUI.UPDATE_CARET, false);
					else
						return new ExitFlags(LinkedPositionUI.COMMIT, true);
				}
			}
			
			Position p= manager.getFirstPosition();
			int pEndOffset= p.offset + p.length;
			
			
			
			if (pEndOffset >= offset) {
				int endOffset= offset + length;
				
				
				if (pEndOffset < endOffset && event.character != 0 || length == 0 && pEndOffset == endOffset && event.keyCode == 127)
					return new ExitFlags(LinkedPositionUI.COMMIT, true);
			}
			
			switch (event.character) {