e.addContentChangeListener(contentChangeListener);
e.addCaretListener(caretListener);
setAcceleratorKeys(e);
setMenuItems(e);
e.setStatusBar(statusPanel);
Dockable editorDockable = new EditorDockable(e, editorDockGroup, workspace);
e.setData("dockable", editorDockable);
return e;
} catch (IOException e1) {
e1.printStackTrace();
}