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
buffer.append(closingCharacter);
					document.replace(offset, length, buffer.toString());
					
					
					BracketLevel level= new BracketLevel();
					fBracketLevelStack.push(level);
					
					level.fManager= new LinkedPositionManager(document, fBracketLevelStack.size() > 1);
					level.fManager.addPosition(offset + 1, 0);
					level.fOffset= offset;
					level.fLength= 2;
			
					level.fEditor= new LinkedPositionUI(sourceViewer, level.fManager);
					level.fEditor.setCancelListener(this);
					level.fEditor.setExitPolicy(new ExitPolicy(closingCharacter, getEscapeCharacter(closingCharacter), fBracketLevelStack));
					level.fEditor.setFinalCaretOffset(offset + 2);
					level.fEditor.enter();
					
					
					IRegion newSelection= level.fEditor.getSelectedRegion();
					sourceViewer.setSelectedRange(newSelection.getOffset(), newSelection.getLength());
	
					event.doit= false;
				} catch (BadLocationException e) {
				}
				break;	
			}
		}
		
		/*