Synced
EditorDocumentCloseMode
Section titled “EditorDocumentCloseMode”
- Selects how a dirty document responds to a close request.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: System.Enum
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public enum InnoEditor.Interactions.EditorDocumentCloseMode : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | EditorDocumentCloseMode.Cancel | Keeps the document open. |
| Fields | EditorDocumentCloseMode.Discard | Closes the document and discards unsaved state. |
| Fields | EditorDocumentCloseMode.Save | Closes the document after saving. |