Author mode - clicking between two adjacent tags

Are you missing a feature? Request its implementation here.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Author mode - clicking between two adjacent tags

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Author mode - clicking between two adjacent tags

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Author mode - clicking between two adjacent tags

Post 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
George Cristian Bina
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Re: Author mode - clicking between two adjacent tags

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Author mode - clicking between two adjacent tags

Post 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
George Cristian Bina
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Re: Author mode - clicking between two adjacent tags

Post 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:
Image
Image
Image
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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Author mode - clicking between two adjacent tags

Post 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
George Cristian Bina
Post Reply