Page 1 of 1
Author mode - clicking between two adjacent tags
Posted: Mon Sep 21, 2009 4:57 pm
by honyk
Hello,
it is not possible to click between two tags if there is no space between them (if you want to insert there an element, for example). You can select one or other, but nothing between. You have to use arrow keys instead. I know there is possibility to instert element before this selected one, but I think it is more obvious to place element at cursor position.
Jan
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 12:02 pm
by sorin_ristache
Hello,
We will consider this improvement for a future version.
It is possible to click and place the cursor between two elements but that will select automatically the element at the right so that inserting a new element with the auto-completion window without pressing an arrow key will surround the selected element with the new element instead of just inserting the new element between the two existing ones.
Thank you for your suggestion,
Sorin
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 12:05 pm
by george
Hi Jan,
Can you try also with the oXygen 11 beta?
http://www.oxygenxml.com/pipermail/oxyg ... 02720.html
We made some improvements on locating the document position near the place where the user clicks and that might solved your issue.
Best Regards,
George
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 12:44 pm
by honyk
Hello George,
nice announcement. I've tried it in this version, but I've registered no visible change. It can be easily tested with this DocBook code fragment:
Code: Select all
<para><emphasis>first</emphasis><emphasis>second</emphasis></para>
Jan
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 2:03 pm
by george
Hi Jan,
I see, in the case of inline elements when the markup is set to "no tags" there is no difference in the position of the caret in the three locations: before end tag of the first element, between elements, after the start tag of the second element. The first and the 3rd can be reached by clicking close to the left and respectively to the right of that location, but the 2nd location cannot be reached.
The simplest solution is to set the markup to "Partial Tags", this is also the default and presents small triangles at the inline element boundaries, see
http://www.oxygenxml.com/doc/ug-oxygen/ ... lay-markup
Then you should be able to easily click in one element or between them.
Best Regards,
George
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 2:36 pm
by honyk
Actually I have 'Full Tags with Attributes' set in Author mode. Switching to suggested mode the selection behaviour is the same from my point of view:

I can select first element or second, but no activate only cursor between. It can be done only if first element is selected and then right arrow key is pressed. Without this step everything inserted replaces the current content. Is this behaviour the same on your side or yours is different? Maybe I have something broken.
Regards,
Jan
Re: Author mode - clicking between two adjacent tags
Posted: Tue Sep 22, 2009 3:08 pm
by george
Hi Jan,
If you do not have a selection and you place the mouse between the two elements then move up until the cursor changes from arrow to an I shape then click you will have the caret between the two elements.
In any case, I logged this as an issue and we will try to improve this, to make easier to place the caret between two inline elements.
Best Regards,
George