MainWindow.SaveFile

Saves the file in the active editor.

public Task<bool> SaveFile(bool secureSave, bool promptForSaveIfDirty)