final ISourceViewer viewer= getSourceViewer(); final StyledText text= viewer.getTextWidget();  text.setCaretOffset(modelOffset2WidgetOffset(viewer, position));  final Event event= new Event(); event.x= text.getSelection().x; event.y= text.getSelection().y; text.notifyListeners(SWT.Selection, event);
getTextWidget().setCaretOffset(modelOffset2WidgetOffset(getSourceViewer(), position));
		protected void setCaretPosition(final int position) {			final ISourceViewer viewer= getSourceViewer();			final StyledText text= viewer.getTextWidget();						text.setCaretOffset(modelOffset2WidgetOffset(viewer, position));			final Event event= new Event();			event.x= text.getSelection().x;			event.y= text.getSelection().y;			text.notifyListeners(SWT.Selection, event);		}