mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 16:14:16 +03:00
Provide keyboard navigation for base windows menus
This commit is contained in:
parent
cfab5c619d
commit
1dac1f375c
@ -1,6 +1,6 @@
|
|||||||
'menu': [
|
'menu': [
|
||||||
{
|
{
|
||||||
label: 'File'
|
label: '&File'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'New Window', command: 'application:new-window' }
|
{ label: 'New Window', command: 'application:new-window' }
|
||||||
{ label: 'New File', command: 'application:new-file' }
|
{ label: 'New File', command: 'application:new-file' }
|
||||||
@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Edit'
|
label: '&Edit'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'Undo', command: 'core:undo' }
|
{ label: 'Undo', command: 'core:undo' }
|
||||||
{ label: 'Redo', command: 'core:redo' }
|
{ label: 'Redo', command: 'core:redo' }
|
||||||
@ -83,7 +83,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'View'
|
label: '&View'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'Reload', command: 'window:reload' }
|
{ label: 'Reload', command: 'window:reload' }
|
||||||
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
|
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
|
||||||
@ -102,7 +102,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Selection'
|
label: '&Selection'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'Add Selection Above', command: 'editor:add-selection-above' }
|
{ label: 'Add Selection Above', command: 'editor:add-selection-above' }
|
||||||
{ label: 'Add Selection Below', command: 'editor:add-selection-below' }
|
{ label: 'Add Selection Below', command: 'editor:add-selection-below' }
|
||||||
@ -121,7 +121,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Movement'
|
label: '&Movement'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'Move to Top', command: 'core:move-to-top' }
|
{ label: 'Move to Top', command: 'core:move-to-top' }
|
||||||
{ label: 'Move to Bottom', command: 'core:move-to-bottom' }
|
{ label: 'Move to Bottom', command: 'core:move-to-bottom' }
|
||||||
@ -138,17 +138,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Find'
|
label: 'F&ind'
|
||||||
submenu: []
|
submenu: []
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Packages'
|
label: '&Packages'
|
||||||
submenu: []
|
submenu: []
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Window'
|
label: '&Window'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'Minimize', command: 'application:minimize' }
|
{ label: 'Minimize', command: 'application:minimize' }
|
||||||
{ label: 'Zoom', command: 'application:zoom' }
|
{ label: 'Zoom', command: 'application:zoom' }
|
||||||
@ -158,7 +158,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Help'
|
label: '&Help'
|
||||||
submenu: [
|
submenu: [
|
||||||
{ label: 'About Atom', command: 'application:about' }
|
{ label: 'About Atom', command: 'application:about' }
|
||||||
{ label: "VERSION", enabled: false }
|
{ label: "VERSION", enabled: false }
|
||||||
|
Loading…
Reference in New Issue
Block a user