Chris Johnson wrote: > I was training a content editor on XMLMind, and she asked me how to > insert an em-dash. I went straight to the Characters tab, where we then > spent about 5 minutes wandering through the various groups of > characters. When you move your cursor over the character you can see the > character code (which is very useful), but I had to go to the Unicode > web site to find the character code, as it's hard to tell the difference > between an en-dash and a figure dash, or an em-dash and a horizontal > bar... I finally found found the names at: > > http://www.unicode.org/charts/PDF/U2000.pdf > > So, my RFE would be this: when you hover over the character code, > display the common name of the character (if it is available).
The "Characters tool tab" is only useful for ``visual characters'' such as Dingbats, Greek letters, Math symbols, etc. If you need to input em-dash, you need to use command insertCharByName (see http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch06s24.html) This command is not bound to any keystroke or to any menu. Therefore you first need to add a binding for it in you customize.xxe file. --- <binding> <keyPressed code="F5" /> <command name="insertCharByName" parameter="[DocBook]" /> </binding> --- Note that the above binding uses DocBook entity names *even for non-DocBook documents*. This is not a problem at all: XXE does not insert entity references, by just characters. Therefore command insertCharByName must be seen as an alternate user interface for the "Characters tool tab". Please find attached a ready-to-use customize.xxe. * Copy it to XXE_user_preferences_dir/config/ (C:\Documents and Settings\user\xxe2\config\ on Windows). * Restart XXE. * Then press F5 to use insertCharByName. Note that the displayed dialog box supports auto-completion ? la Emacs (press first letters, then space, more letters, then space, etc). -------------- next part -------------- A non-text attachment was scrubbed... Name: customize.xxe Type: text/xml Size: 781 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040916/31ba2228/attachment.xml

