# 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.
Type: hwscpTextEditor

## Outputs

editorModified
A boolean representing whether or not the editor has been modified. 1 for modified, 0 for not modified.
Type: Boolean

## Examples

See if an editor has been modified since the last time it was saved:

editorModified = bdeIsEditorTextModified(editor);



editorModified = 1