save

open fun save()

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.