code: void createPage0() {
  		try {
  			textEditor = new StructuredTextEditor();
  			int index = addPage(textEditor, getEditorInput());
  			setPageText(index, "Source");
  			setPartName(textEditor.getTitle());
  		} catch (PartInitException e) {
  			ErrorDialog.openError(getSite().getShell(), "Error creating nested text editor", null, e.getStatus());
  		}
  	}
docs: Creates Structured Twext Editot of the multi-page editor, which contains an HTML editor.