MCPcopy Index your code
hub / github.com/massCodeIO/massCode / createHistoryMenuItems

Function createHistoryMenuItems

src/main/menu/main.ts:481–494  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479}
480
481function createHistoryMenuItems(): MenuConfig[] {
482 return [
483 {
484 label: i18n.t('menu:history.back'),
485 accelerator: 'CommandOrControl+[',
486 click: () => send('main-menu:navigate-back'),
487 },
488 {
489 label: i18n.t('menu:history.forward'),
490 accelerator: 'CommandOrControl+]',
491 click: () => send('main-menu:navigate-forward'),
492 },
493 ]
494}
495
496function createNotesEditorModeItems(context: MainMenuContext): MenuConfig[] {
497 if (context.editor.kind !== 'notes' || !context.editor.noteMode) {

Callers 1

createMainMenuTemplateFunction · 0.85

Calls 1

sendFunction · 0.90

Tested by

no test coverage detected