public AppCommands(AppModel model) { Model = model; // File Operations OpenDocument(); NewWeblogPost(); // Configuration OpenAddinManager(); // Misc OpenSampleMarkdown(); OpenRecentDocument(); PreviewModes(); }
public AppCommands(AppModel model) { Model = model; // File Operations NewDocument(); OpenDocument(); Save(); SaveAs(); NewWeblogPost(); OpenRecentDocument(); SaveAsHtml(); // Links and External OpenSampleMarkdown(); // Settings PreviewModes(); RemoveMarkdownFormatting(); WordWrap(); DistractionFreeMode(); PresentationMode(); PreviewBrowser(); // Editor Commands ToolbarInsertMarkdown(); CloseActiveDocument(); CloseAllDocuments(); ShowActiveTabsList(); // Preview Browser EditPreviewTheme(); PreviewSyncMode(); // Miscellaneous OpenAddinManager(); Help(); CopyFolderToClipboard(); TabControlFileList(); }
public EditorContextMenu() { Model = mmApp.Model; ContextMenu = Model.Window.EditorContextMenu; ContextMenu.Closed += ContextMenu_Closed; }
public AppCommands(AppModel model) { Model = model; // File Operations NewDocument(); OpenDocument(); OpenFromUrl(); Save(); SaveAs(); NewWeblogPost(); OpenRecentDocument(); SaveAsHtml(); GeneratePdf(); PrintPreview(); // Links and External OpenSampleMarkdown(); // Settings PreviewModes(); RemoveMarkdownFormatting(); WordWrap(); DistractionFreeMode(); PresentationMode(); PreviewBrowser(); Settings(); // Editor Commands ToolbarInsertMarkdown(); CloseActiveDocument(); CloseAllDocuments(); ShowActiveTabsList(); CopyAsHtml(); SetDictionary(); // Preview Browser EditPreviewTheme(); PreviewSyncMode(); ViewInExternalBrowser(); ViewHtmlSource(); // Miscellaneous OpenAddinManager(); Help(); CopyFolderToClipboard(); TabControlFileList(); // Git OpenGitClient(); OpenFromGitRepo(); CommitToGit(); // Sidebar CloseLeftSidebarPanel(); CloseRightSidebarPanel(); OpenLeftSidebarPanel(); ShowFolderBrowser(); }