Nick Liebmann wrote: > I would like to be able to use Ctrl+B and Ctrl+I to set emphasis on the > selected text (as bold and italics)
The basic idea in XXE is: [1] Give the user a basic set of accelerators. [2] Let the user add or redefine accelerators (almost) at will. See http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s01.html. If you copy the attached file in your <XXE_user_preferences_dir>/config/ (C:\Documents and Settings\<user>\xxe\config\ on Windows), you'll get what you want for *DocBook* documents (I supposed that you were talking about DocBook's emphasis element). The attached file contains these 2 bindings: --- <binding> <keyPressed code="B" modifiers="ctrl shift" /> <command name="docb.convertWithAttribute" parameter="emphasis role bold" /> </binding> <binding> <keyPressed code="I" modifiers="ctrl shift" /> <command name="convert" parameter="[implicitElement] emphasis" /> </binding> --- Note that you'll need to use Ctrl-Shift-B and Ctrl-Shift-I instead of Ctrl-B and Ctrl-I. It is possible to bind Ctrl-B to a command, but not Ctrl-I which is used by the Edit menu. For consistency, I have specified Ctrl-Shift- for both commands. -------------- next part -------------- A non-text attachment was scrubbed... Name: mydocbook.xxe Type: text/xml Size: 640 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040909/ee61e178/attachment.xml

