if (browser != null && !browser.isDisposed()) browser.setText(html); else if (control != null && !control.isDisposed()) { Rectangle size = this.control.getClientArea(); html = presenter.updatePresentation(getSite().getShell() .getDisplay(), html, presentation, size.width, size.height); control.setText(html); TextPresentation.applyTextPresentation(presentation, control); } }
if (browser != null && !browser.isDisposed()) browser.setText(html);  else { StyledText control = this.control; if (control != null && !control.isDisposed()) { Rectangle size = this.control.getClientArea(); html = presenter.updatePresentation(getSite().getShell() .getDisplay(), html, presentation, size.width, size.height); control.setText(html); TextPresentation.applyTextPresentation(presentation, control); } } }
	private void setHTMLText(String html) {		if (browser != null && !browser.isDisposed()) browser.setText(html);		else if (control != null && !control.isDisposed()) {			Rectangle size = this.control.getClientArea();			html = presenter.updatePresentation(getSite().getShell()					.getDisplay(), html, presentation, size.width, size.height);			control.setText(html);			TextPresentation.applyTextPresentation(presentation, control);		}	}