Replies: 2 comments 1 reply
|
If both have identical feature that can be addressed by the |
1 reply
For now no but I can help in found a way. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
@BDisp, I am studying the code in
ViewKeyboard.csand looking atShortcutetc...It seems to me this logic is duplicative with
Command/KeyBindings.For example, if
Menuwas modified to createCommands and callAddKeyBindingfor each menu item'sshortcutwe could get rid of all this code? The other places whereShortcutHelperis used are:TextView- It's only usingShortcutHelper.GetModifiersKey()and in a weird way:This could be easily addressed.
TopLevel- Just remove call toShortcutHelper.FindAndOpenByShortcutfromOnColdKey(letInvokeKeyBindingsdo it's thing)Scenarios (DyanmicMenuBar, VkPacketSimulator, Editor) could all be modified to just use KeyBindings.
Do you have thoughts or suggestions on this?
All reactions