Hi there,
I am currently trying to find a way to implement the behaviour I
described in a previous mail on this list ("Copy/Paste issues") using
the configuration features of xxe.
I have had a good look at the Power Users Guide and I have found several
starting points, but I am not quite sure if what I want can really be
done through the configuration. Let me describe it quickly:
For DocBook, I want to make it easier for the user to select portions of
the text with the complete markup for copy/paste operations. With the
Ctrl-Click and Shift-Ctrl-Click selection, you currently only can select
direct siblings as far as I can tell. My question is: Is it (in
principle) possible, just by using macros in the configuration, to
implement the following:
- If the user Shift-Ctrl-Clicks on a node and another node is already
selected, do the following:
1. If the two nodes are siblings, select the node range between them
(just like "selectNodeAt extend" does)
2. If the two nodes are not siblings, instead of the second node,
select its parent node, then go back to 1.
I am not sure if a behaviour like this is possible, but I would be
greatful for any hints on this.
Cheers
Bernd