Bug 4360 Template - cursor at wrong position
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateEditorPopup.java
e.doit= false;
			break;
		
		case 0x0D:
			dispose();
			fResult= true;
			e.doit= false;
			break;
		
		case 0x1B:
			dispose();
			fResult= false;
			e.doit= false;
			break;
		}
	}
	
	public void controlMoved(ControlEvent e) {
		updatePosition();
	}
	
	public void controlResized(ControlEvent e) {
		updatePosition();		
	}	
	
	public void focusGained(FocusEvent e) {
		EditBox box= getEditBox(e);
		box.getText().addModifyListener(this);
		box.getText().addVerifyKeyListener(this);
	}