Exemple #1
0
        private static void Edit(AppViewModel item, EditorCommand command)
        {
            var view = item?.Workspace?.SelectedItem?.View;

            if (view is IEditor editor)
            {
                command.Execute(editor.Editor);
                Keyboard.Focus(editor.Editor);
            }
        }