someones from you probably remember Ride, my small code editor, which I released some time ago. this question relates with it, let me explayn bit more.
Programmer, which doesn't learn new things is deadh programmer. That's our lot, learning during the entire life. So I decided to learn C# few days ago.
All vent great, I quickly discovered how its command line compiler works. Now I am able to program basic things in it, my next goal is oop, what is however not important for this topic.
I browsed possibilities to bring C# to other platforms, and found Xamarin. It looked interesting, so I decided to try it out. But I found out, that instead of a standalone app, it is an extension for Visual studio.
While it would be potentially possible to manage it with cmd, I realize, that there are many things in game now, which are hard to manage from simple editors. So, it would be worth trying to move on Vs, to explore, what can I do with it.
There is however still one problem, code editing. I absolutely refuse returning back to line by line code browsing, it is something I can't imagine now. But VS can't provide me better solution, so, what to do?
Only answer which I see is to finish the plugin for NVDA, which brings the Ride functionality to any edit field.
I made a huge progress some time ago when I managed to implement the movement mechanism. It surprised me a lot, when I take in fact, that I didn't and still don't know anything about NVDA plugins, all I did was taking the code of Indentnav plugin by Tony Malykh and erasing the functional part, replacing it with my own algorithms from Ride.
There are however few things, I can't do. One from them is change of gestures in runtime.
I have understood, that there is an dictionary called __gestures, which contains list of keystrokes with assigned methods to proceed in case they're pressed. Here I have defined all shortcuts like down arrow, up arrow, alt+left arrow, alt+right arrow etc, and it works.
But you can probably imagine, what it does with navigation in os surface. It is totally broken of course. So I need to change these shortcuts, or better said deactivate them for example on ctrl+k shortcut. When user press ctrl+k, and Ride is deactivated, it turns on all the shortcuts. If user press ctrl+k again, Ride will deactivate shortcuts, and navigation is free again.
Can someone help me, how to do this? I read something about gestures binding, but that document is probably out of date, because I haven't found referred methods in current release of NVDA.
Thanks you in advance