Add shortcuts

This commit is contained in:
Oystein Kristoffer Tveit 2021-02-20 12:15:46 +01:00
parent fc055382d0
commit 066fdb26ce

View File

@ -14,15 +14,14 @@
<menus> <menus>
<Menu mnemonicParsing="false" text="File"> <Menu mnemonicParsing="false" text="File">
<items> <items>
<MenuItem mnemonicParsing="false" text="New File" /> <MenuItem mnemonicParsing="false" text="New File" accelerator="Shortcut+n"/>
<MenuItem mnemonicParsing="false" text="New Folder" /> <MenuItem mnemonicParsing="false" text="New Folder" accelerator="Shortcut+N"/>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Open File" /> <MenuItem mnemonicParsing="false" text="Open File" accelerator="Shortcut+o"/>
<MenuItem mnemonicParsing="false" text="Open Project" /> <MenuItem mnemonicParsing="false" text="Open Project" accelerator="Shortcut+O"/>
<MenuItem mnemonicParsing="false" text="Close" />
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Save" /> <MenuItem mnemonicParsing="false" text="Save" accelerator="Shortcut+s"/>
<MenuItem mnemonicParsing="false" text="Save as" /> <MenuItem mnemonicParsing="false" text="Save as" accelerator="Shortcut+S"/>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<Menu mnemonicParsing="false" text="Change programming language"> <Menu mnemonicParsing="false" text="Change programming language">
<items> <items>
@ -31,29 +30,29 @@
</items> </items>
</Menu> </Menu>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Exit" /> <MenuItem mnemonicParsing="false" text="Exit" accelerator="Shortcut+w"/>
</items> </items>
</Menu> </Menu>
<Menu mnemonicParsing="false" text="Edit"> <Menu mnemonicParsing="false" text="Edit">
<items> <items>
<MenuItem mnemonicParsing="false" text="Undo" /> <MenuItem mnemonicParsing="false" text="Undo" accelerator="Shortcut+z"/>
<MenuItem mnemonicParsing="false" text="Redo" /> <MenuItem mnemonicParsing="false" text="Redo" accelerator="Shortcut+y"/>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Cut" /> <MenuItem mnemonicParsing="false" text="Cut" accelerator="Shortcut+x"/>
<MenuItem mnemonicParsing="false" text="Copy" /> <MenuItem mnemonicParsing="false" text="Copy" accelerator="Shortcut+c"/>
<MenuItem mnemonicParsing="false" text="Paste" /> <MenuItem mnemonicParsing="false" text="Paste" accelerator="Shortcut+v"/>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Find" /> <MenuItem mnemonicParsing="false" text="Find" accelerator="Shortcut+f"/>
<MenuItem mnemonicParsing="false" text="Replace" /> <MenuItem mnemonicParsing="false" text="Replace" accelerator="Shortcut+h"/>
<SeparatorMenuItem/> <SeparatorMenuItem/>
<MenuItem mnemonicParsing="false" text="Toggle line comment" /> <MenuItem mnemonicParsing="false" text="Toggle line comment" accelerator="Shortcut+k"/>
</items> </items>
</Menu> </Menu>
<Menu mnemonicParsing="false" text="Help"> <Menu mnemonicParsing="false" text="Help">
<items> <items>
<MenuItem mnemonicParsing="false" text="Tips and tricks" /> <MenuItem mnemonicParsing="false" text="Tips and tricks" accelerator="f1"/>
<MenuItem mnemonicParsing="false" text="Keyboard Shortcut list" /> <MenuItem mnemonicParsing="false" text="Keyboard Shortcut list" accelerator="f2"/>
<MenuItem mnemonicParsing="false" text="About" /> <MenuItem mnemonicParsing="false" text="About" accelerator="f3"/>
</items> </items>
</Menu> </Menu>
</menus> </menus>