Event event = new Event();
public void setText(String text) {	checkWidget();	Event event = new Event();		if (text == null) {		SWT.error(SWT.ERROR_NULL_ARGUMENT);	}	event.start = 0;	event.end = getCharCount();	event.text = text;	event.doit = true;		notifyListeners(SWT.Verify, event);	if (event.doit) {		StyledTextEvent styledTextEvent = null;				if (isListening(ExtendedModify)) {					styledTextEvent = new StyledTextEvent(logicalContent);			styledTextEvent.start = event.start;			styledTextEvent.end = event.start + event.text.length();			styledTextEvent.text = content.getTextRange(event.start, event.end - event.start);		}		content.setText(event.text);		sendModifyEvent(event);			if (styledTextEvent != null) {			notifyListeners(ExtendedModify, styledTextEvent);		}	}}