Boris Goldowsky wrote: > > > Nat Pryce wrote: > > > Could I submit an enhancement request: make XXE display some kind of > > > unobtrusive error message to the user (in the status bar maybe) > > > explaining why it cannot paste content. > > Hussein Shafie wrote: > > I'm really sorry to reject your RFE one more time, but I don't see which > > message to print in the status bar. Something like "Operation not > > permitted in this context" would not help you much. > > Maybe something like "Can't paste <db:p> into this context" would > provide a little more information? That would let you know what's on > the clipboard, which is not easy to figure out otherwise.
The contents of the clipboard is displayed ``in real-time'' at the bottom right of the main window. > Another approach that I've thought of while trying to restructure > documents with XXE is that it would be really nice to have another > option for insertion: right now you pick your location first, then get > a list of elements that can be inserted there. But usually you know the > element you want, even if you don't remember the exact rules on where it > is allowed. It would be really nice to be able to say, "I need to > insert a list", and have XXE highlight the locations where it is legal > to do so, so I could just click one. Perhaps a similar feature could be > offered for pasting. > > I realize this is not easy to implement, however. Something for the > wish list. We already have something very close to want you want: the "add" command. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/add.html This command is generally used by the buttons found in the DocBook, XHTML, DITA, etc, tool bars. Example: The "Add itemizedlist" button of the DocBook tool bar adds an itemizedlist at the nearest, *legal*, position following the caret. In practice, this simple behavior is sufficient. Try it, you'll like it.

