saveAsync

open fun saveAsync()

Saves the file held by the document view back to it's original location. The save operation will be successful only if all document listeners return true in onDocumentSave and the document was actually modified.

Runs the save on a thread so a spinner is shown on the UI while saving is happening. NOTE: If you run into corrupted files after using this function, use the safer save