Difference between revisions of "document.markChanged"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "document.'''markChanged''' is a function that is part of the Document Library. <br> The function marks the current document as changed. It will ask you to save it when y...")
(No difference)

Revision as of 10:36, 25 May 2011

document.markChanged is a function that is part of the Document Library.


The function marks the current document as changed. It will ask you to save it when you close it.

Syntax

document.markChanged()
Turns thee 'changed' flag on.

Example

--[[
Code that modifies the current document
..
..
--]]

document.markChanged() --ask the user to save the document when closing it