Docs » Autodocs » texteditor.gadget » GA_TEXTEDITOR_HasChanged
GA_TEXTEDITOR_HasChanged -- [ISG], BOOL
This tag will show if the contents of the gadget has changed. You can take notify on this tag, so that you can connect it with a checkmark or textobject. You should set this tag to FALSE whenever you export the contents of the gadget or overwrite it with something new. Even though you have set up notification on this tag you should still get() it before you kill the text, because this makes it possible to do some advanced testing to see if the text has actually been modified. E.g. by checking the undobuffer, comparing checksums or by checking whether or not the textbuffer is empty (none of this is currently done, but it may be in the future). The tag is currently not affected by: GA_TEXTEDITOR_Contents, GM_TEXTEDITOR_ClearText GM_TEXTEDITOR_Export, GM_TEXTEDITOR_Import
|