DocumentAction
Actions about one document's lifecycle: editing, saving, and reloading it from its origin.
Inheritors
Types
The document's in-memory text was edited.
The user resolved a reload-with-dirty-changes prompt.
Re-reading the document from its origin failed; in-memory content is unchanged.
The document was re-read from its origin; text replaces its in-memory content.
The document's display name was changed.
The user asked to reload the document from its origin, discarding in-memory changes if confirmed.
The user asked to save; forceSaveAs requests a destination picker even if the document already has one.
The user backed out of a save-destination picker; the document stays dirty.
The user picked (or confirmed) where to save a document that didn't already have an origin.
The write failed; the document stays dirty and message is shown to the user.
The write to origin completed; the document is no longer dirty as of savedRevision.