UXP Toolkit
    Preparing search index...

    The policy for handling new changes upon closing a document.

    22.5

    Index

    Enumeration Members

    DONOTSAVECHANGES: 0

    Will close document without saving, discarding changes

    PROMPTTOSAVECHANGES: 1

    Will ask the user if they'd like to save changes, blocking the script

    SAVECHANGES: 2

    Will save all existing changes before closing, prompting if document is not saved yet