Philippe Nobili wrote: > > Here is an usability improvement suggestion for XMLMind when editing > DocBook/XML document (DB-4): > > Description: When double-clicking on imagedata elements, an URL > selection is opened.
It is a very special dialog box (i.e. not a mere file selection dialog box) which is displayed in this case. The only other way to display this very special dialog box is to drop a file onto the image placeholder. > It would useful to have the same mechanism when > double-clicking on link and xref elements (the ID selection dialog box > would be opened). We are not convinced. We like to use the Attribute tool, its automatic selection of attribute "linkend" and its autocompletion of attribute values to handle this case. > Rationale: When authoring large document with many internal > cross-references, we often let the reference empty (i.e. creating empty, > thus invalid link or xref elements), because we do not know the ID it > should be refering too (but we know it will eventually have to refer > some ID..). > > So in a second pass, we simply use the validity tool to detect in one go > all empty link/xref (they are marked as invalid), move to their location > and fix the link. This shortcut will help a lot. In the meantime, how > can we implement it in our DocBook customization layer ? > I think so. You need to replace the command bound to double-click (selectText word) by something more contextual. You need to specify the binding and the macro in your customize.xxe file. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/bindings_generic.html

