Page 1 of 1

Shortcut keys don't work

Posted: Wed Sep 21, 2005 10:10 pm
by Roger
I have ctrl E mapped to 'select element' and ctrl-shift-C mapped to 'comment selection' and neither work in 6.2 but worked in 6.1 The shortcut keys display as expected in the menus.

Roger Kovack

Posted: Thu Sep 22, 2005 9:22 am
by iulian_velea
Hi Roger,

I cannot reproduce the problem so I would like to ask you to be more precise about the situation when it appears. Maybe you could post a small file and specify the cursor position when you press Ctrl-E, and for the second problem, with 'comment selection', specify the selection range.
The action "Select element" works only if the cursor is inside the elements start tag or elements end tag and not on one of the attributes or elements content.
The action "Comment selection" works only if you previously selected some text in the editor.
Both actions do not have a key shortcut defined by default so you must configure them in "Preferences/Menu Shortcut Keys" page.
Also you must notice that Ctrl-E is already bound to "XML Refactoring - Surround with tag" action and Ctrl-Shift-C is bound to "Configure Scenario" action. So to make sure the key shortcuts you defined trigger the desired actions you must first remove the default mappings for this two key combinations.

Thank you,
Iulian.

Posted: Mon Sep 26, 2005 6:21 am
by Roger
Thanks for your concern. The problem went away after rebooting the computer. So now I can't reproduce it either.

Roger