Page 1 of 1

${caret} doesn't work?

Posted: Wed Feb 03, 2016 12:55 pm
by stdu
Hi,

If I use ${caret} in an action with the surround-operation, ${caret} is replaced by oXygen XML Author with the string "UNIQUE_CARET_MARKER_FOR_AUTHOR" when I execute the action.

I use this code in the action:

Code: Select all

<choice xmlns="http://www.tei-c.org/ns/1.0"><abbr></abbr><expan>${caret}</expan></choice>
Is this a bug or did I overlooked something?

Regards,
Stefan

Re: ${caret} doesn't work?

Posted: Wed Feb 03, 2016 12:56 pm
by stdu
More exactly: Author inserts the PI

Code: Select all

<?UNIQUE_CARET_MARKER_FOR_AUTHOR?>

Re: ${caret} doesn't work?

Posted: Wed Feb 03, 2016 3:35 pm
by Radu
Hi Stefan,

I managed to reproduce this. Somehow it works if there is no selection when the action is invoked.
I added an issue and we'll look into it.

Regards,
Radu

Re: ${caret} doesn't work?

Posted: Tue Feb 09, 2016 12:01 pm
by ionela
Hi,

Just to update the thread, this problem has been resolved in the latest maintenance build of oXygen 17.1, 2016020417(released on February 5th):
Author: SurroundWithFragmentOperation did not correctly handle the ${caret} editor variable.

You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2016020417

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Let us know if you encounter further problems with this new build.

Regards,
Ionela

Re: ${caret} doesn't work?

Posted: Tue Feb 09, 2016 2:20 pm
by stdu
That's great, thank you!

Re: ${caret} doesn't work?

Posted: Mon May 02, 2016 3:27 pm
by stdu
Hi Radu,

I ran again in this issue with the current 17.1 version (build 2016032212).
Or do I handle something wrong?

Kind regards,
Stefan

Re: ${caret} doesn't work?

Posted: Tue May 03, 2016 4:22 pm
by mihaela
Hi Stefan,

Indeed, it seems that there are still some problems regarding the ${caret} usage.
I managed to reproduce (on build 2016032212) the problem you have initially reported, but only when the change tracking is ON. Is this also your use case? If you have other way to reproduce it, please let us know to fix it.

Best Regards,
Mihaela

Re: ${caret} doesn't work?

Posted: Fri Jul 01, 2016 3:16 pm
by Radu
Hi,

The latest Oxygen 18.0 build kits available on our web site should also contain fixes for the situation found by Mihaela.

Regards,
Radu