Philippe Nobili - GPM Team wrote: > Thank you for your very quick reply and your valuable suggestions; the > shortcuts you mentioned are indeed very useful, one is not working as we > expect (but maybe it is the normal behavior): >>Keyboard: "Esc Left-Arrow" and "Esc Right-Arrow". You don't need to >>select anything beforehand: just press "Esc Right-Arrow" several >>times in a row. (Personnally, I use this shortcut all the time.) > Actually, this works only if we release the Esc- key each time, which is > not very convenient. If we let the Esc- key pressed, then simply press > the Left-Arrow or Right-Arrow to extend backward or forward the > selection, the selection is lost. Is this the expected behavior ? >
Esc is not a *modifier* *key* like Ctrl or Shift. You cannot press Esc then press another key while Esc is still pressed. You need to press then release Esc, then press Right Arrow. You don't find it convenient because you are not used to it (millions of vi and emacs users don't see anything wrong with the Esc key!). We have chosen the Esc key rather than say the Alt key (which is a modifier key) because it works fine on all platforms. Of course, there is no problem rebinding "selectNode extendToNextSiblingOrElement" and "selectNode extendToPreviousSiblingOrElement" to other keystrokes. For example, copy the attached customize.xxe to one of the two addon/ directories scanned by XXE during its startup and you are done (well, it depends on your platform: it works fine on my Linux box). --- <?xml version='1.0' encoding='ISO-8859-1'?> <configuration xmlns="http://www.xmlmind.com/xmleditor/schema/configuration" xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> <!-- Discard old bindings. --> <binding> <keyPressed code="ESCAPE" /> <keyPressed code="RIGHT" /> </binding> <binding> <keyPressed code="ESCAPE" /> <keyPressed code="LEFT" /> </binding> <!-- New bindings. --> <binding> <keyPressed code="RIGHT" modifiers="alt" /> <command name="selectNode" parameter="extendToNextSiblingOrElement" /> </binding> <binding> <keyPressed code="LEFT" modifiers="alt" /> <command name="selectNode" parameter="extendToPreviousSiblingOrElement" /> </binding> </configuration> --- -------------- next part -------------- A non-text attachment was scrubbed... Name: customize.xxe Type: text/xml Size: 753 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070711/3e621f4b/attachment.xml

