Bernd Kuemmerlen wrote:
> 
> We are currently evaluating XMLEditor because we want to move our
> software documentation do DocBook. All in all, XMLEditor behaves like
> people coming from a Word-WYSIWYG background would expect. The only
> little quirk is the handling of text selection and copy/paste. I
> completely understand that selecting the text and selecting the Markup
> nodes are different things, but to the unsuspecting end-user, there is
> no difference.
> 
> My question is: Would it be possible to have a mode in which the
> "normal" text selection (and a copy of this) would at least include all
> totally enclosed markup tags?  This would save a lot of hassle when
> people try to copy complete paragraphs. The normal expectation is to be
> able to easily copy the markup within the paragraph. Or are there any
> technical reasons which prohibit this?

No, it just takes a lot of experimentation and a lot of work. (Remember
that text selection works across elements.)



> The issue is even more important
> because the Shift-Ctrl-Click to select markup nodes in the normal
> text-view sometimes does not seem register, so it is very difficult to
> select multiple nodes (it's mostly OK in the tree view).

There is no bug here. 99% of the time, Shift-Ctrl-Click will not work
because user has not selected previously the right first node of the
range. (Shift-Ctrl-Click can only be used to select nodes having the
same parent.)

For example, if you want select all nodes in a paragraph, first you have
to explicitly select first child of the paragraph: if it is an element,
explicitly select this element; if it is a text node, explicitly select
this text node.

PS: In XXE, if you have a stylesheet available, you really never, ever,
need to use the tree view. If it is the case, may be you have missed
something in the tutorial. No offense intended and of course, I'm not
pretending that XXE is perfect. But the fact is that here at XMLmind, we
never, ever, use the tree view, just the styled view.

Reply via email to