title: Eclipse EMF adding structured text editor page is it possible?
body: <p>have a Eclipse EMF editor which extends MultiPageEditorPart. This editor class is generated via Eclipse EMF. I did not add new codes or anything to this generated editor.</p>
  <p>I want to add Structured Text editor page for .xml files.
  I tried to add the following code into createPages() function:</p>
  <pre class="lang-java prettyprint-override"><code>try {
      StructuredTextEditor sourceEditor = new StructuredTextEditor();
      int index = addPage(sourceEditor,getEditorInput());
      setPageText(index, &quot;Source&quot;);
  } catch (PartInitException e) {
          e.printStackTrace();
  }
  </code></pre>
  <p>But ctrl + z and ctrl + c don't work when i try this.</p>