gui.isTextEditorFileModified

Checks if a textEditor file has been modified since it has been opened/last saved.

Prototype

  1. bOk = gui.isTextEditorFileModified ( hComponent )

Description

Useful to do "file has been modified"-warnings before closing a textEditor document.


Parameters

hComponent - valid GUI component handle


Return values

bOk - true if modified, otherwise false


Available since ShiVa 2.0