def get_editor_memento(self, editor):
Return the state of an editor suitable for pickling etc.
dataset/ETHPy150Open enthought/pyface/pyface/workbench/i_editor_manager.py/IEditorManager.get_editor_memento