fgActiveEditors.put(fContext.getViewer(), this);
	public void enter() {		try {			int offset= fContext.getStart();			int length= fContext.getEnd() - offset;				// backup old text			IDocument document= fContext.getViewer().getDocument();			fOldText= document.get(offset, length);				// insert new text						document.replace(offset, length, fModel.toString());			fText.showSelection();						if (fModel.getEditableCount() == 0)				return;			fText.addModifyListener(this);			fContext.getViewer().getDocument().addDocumentListener(this);			fText.addVerifyKeyListener(this);			fText.addPaintListener(this);			//			fTemplateEngine.setEnabled(false);		} catch (BadLocationException e) {			JavaPlugin.log(e);		}	}