public void propertyChanged(Object source, int propertyId) {
firePropertyChange(propertyId);
}
});
editor.createPartControl(sash);
browser = new Browser(sash,SWT.NONE);
wrapper.updatePreview();
} catch (PartInitException e) {
HTMLPlugin.logException(e);
ErrorDialog.openError(getSite().getShell(),
"Error creating nested text editor",null,e.getStatus()); //$NON-NLS-1$