focus XPath/XQuery Builder view

Hi, Sometimes, having an (XQuery) file open, I'd like to do some experimentation in the XQuery Builder view. You add a couple of lines of code, try it out, etc. Then, I'd like to comment out a line or a selection using Ctrl-Shift-, in this view, but this doesn't work. Apparently, the focus for this type of action remains with the previous file, and suddenly you get a comment where you cursor is in this file (or, if a selection was active, around it). The behaviour is the same on Windows and Mac, latest 16.0, build 2014070913. These commands are listed under the "Document" menu item which is coherent with their behaviour (they apply to documents only, not to "buffers"), but I would argue that commands like this should be applicable in the window or view where the cursor is currently active, and this would be very useful there. Maybe that's not as easy as it sounds because of the Eclipse underpinnings? Could you consider this for a future improvement? cheers, Jakob.

Hello Jakob, As you've already discovered the 'Toggle Comment' action is only available in the main editor that's why it is triggered there. The standalone edition of Oxygen is not related to Eclipse, so there are no Eclipse underpinnings. I've submitted an improvement request on our issue tracking tool to provide at least some of the XQuery editor actions in the XPath/XQuery Builder panel. We will notify this discussion thread when it gets implemented. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com On 25.08.2014 11:21, Jakob Fix wrote:
Hi,
Sometimes, having an (XQuery) file open, I'd like to do some experimentation in the XQuery Builder view. You add a couple of lines of code, try it out, etc. Then, I'd like to comment out a line or a selection using Ctrl-Shift-, in this view, but this doesn't work. Apparently, the focus for this type of action remains with the previous file, and suddenly you get a comment where you cursor is in this file (or, if a selection was active, around it).
The behaviour is the same on Windows and Mac, latest 16.0, build 2014070913. These commands are listed under the "Document" menu item which is coherent with their behaviour (they apply to documents only, not to "buffers"), but I would argue that commands like this should be applicable in the window or view where the cursor is currently active, and this would be very useful there. Maybe that's not as easy as it sounds because of the Eclipse underpinnings? Could you consider this for a future improvement?
cheers, Jakob.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Jakob Fix
-
Oxygen XML Editor Support (Adrian Buza)