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