public bool SaveFileAs() => EditorLoadSave.SaveFileAs(this);
public bool SaveFileAs() => IfNotReadOnly(() => EditorLoadSave.SaveFileAs(this));
private void ExecuteSaveAsHtml(object sender, ExecutedRoutedEventArgs e) => EditorLoadSave.SaveFileAs(Editor, "html");
private void ExecuteSaveAsHtmlTemplate(object sender, ExecutedRoutedEventArgs e) => EditorLoadSave.SaveFileAs(Editor, "html-with-template");
private static void Execute(object sender, ExecutedRoutedEventArgs e) { var mainWindow = (MainWindow)sender; EditorLoadSave.SaveFileAs(mainWindow.Editor, "html-with-template"); }