bdeIsEditorTextModified
Returns whether or not an editor has made modifications.
Syntax
editorModified = bdeIsEditorTextModified(editor)
Inputs
- editor
- The editor to check if the contents have been modified.
Outputs
- editorModified
- A boolean representing whether or not the editor has been modified. 1 for modified, 0 for not modified.
Examples
See if an editor has been modified since the last time it was saved:
editorModified = bdeIsEditorTextModified(editor);
editorModified = 1