I am trying to switch from a COM code editor to SyntaxEditor and am running into some problems with keyboard shortcuts being different from the old editor. (Which was compatible with an older version of Visual Studio)
In my old tool there was a keyboard mapping object that I could alter in order to change the mappings, or prevent specific ones from firing anything at all.
Does SyntaxEditor have a similar mapping object, or is there an alternative way to handle this?
Two specific problems I have found so far are:
Block Selection - we use Ctrl+LeftMouse vs your Alt+LeftMouse
(Alt+ does match VS 2008 but we generally avoid Alt if we can)
Ctrl+MouseWheel which we use for Zoom In/Out. (you seem to ignore the control keys altogether and scroll the view in all cases ... which is not VS compatible.)
I used the MouseWheel() event to implement my Zoom feature but since the event is not cancelable it also scrolls the view. I don't see a property to switch off mouse wheel scrolling so how do I prevent that from happening. (Ideally I only want to switch off the Ctrl+Wheel combination but if I have to switch off all Mouse wheel handling I guess I can implement View scrolling myself.)
In general, how do I modify/add/remove your built-in shortcuts?