viewer.getDocument().replace(position, caret - position, "");
viewer.getDocument().replace(position, length, "");
		protected void setCaretPosition(final int position) {			if (!validateEditorInputState())				return;						final ISourceViewer viewer= getSourceViewer();			final int caret= widgetOffset2ModelOffset(viewer, viewer.getTextWidget().getCaretOffset());			try {				viewer.getDocument().replace(position, caret - position, ""); //$NON-NLS-1$			} catch (BadLocationException exception) {				// Should not happen			}		}