public void InsertFile(string file) => IfNotReadOnly(() => EditorLoadSave.InsertFile(this, file));
private static void Execute(object sender, ExecutedRoutedEventArgs e) { var mainWindow = (MainWindow)sender; EditorLoadSave.InsertFile(mainWindow.Editor, null); }