On 1/14/2008 2:02 AM, Hussein Shafie wrote: > Andy Black wrote: >> In my CSS configuration file, I have several places where I use a >> text-field (usually for IDs). >> >> I've noticed that whenever the cursor is in such a text-field, bound >> keys for my macros do not work. I can use my custom menu (via the >> mouse) to get to these, but it would be nice to be able to just use >> the key-board short-cuts that are available in other environments. >> >> I have also noticed that while CTRL-J does work as expected from >> within a text-field, CTRL-H acts like a backspace. >> >> Is there something I can do in my configuration files to get these >> key bindings to work as expected? > > There is no clean, simple, way to solve this problem. > > If Ctrl-J works, this means that any menu shortcut will work too, > unless overriden by the control itself (like Ctrl-H). > > Therefore, try to add menu items having shortcuts for your macros in > the configuration-specific menu (the ``XML'' menu). See > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/menu.html
Thanks, Hussein. Adding the <accelerator> element in the menu configuration made the difference. --Andy

