In order to keep loading and saving mechanisms reliable, the following rules apply:
read, write and adoptDocument
methods of the *DocStorage classes or to create an
instance of such a class.
EquationEnv.prototype.saveGemsePEditor.prototype.newDocStorageByURIGemsePEditor.prototype.freeUnusedDocStorageGemsePEditor.prototype.loadURIGemsePEditor.prototype.loadFromOpenDocumentDocStoragePrototype
can be called from everywhere. Additional methods or variables of an
instance of a *DocStorage must not be touched.storages array
of the GemsePEditor instance.eliminateEquationEnv of the GemsePEditor
instance, or close of the EquationEnv
instance (which in turn calls eliminateEquationEnv).The *DocStorage classes are defined in
storage.js.