${caret} doesn't work?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
stdu
Posts: 81
Joined: Mon Mar 05, 2012 5:23 pm

${caret} doesn't work?

Post 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
stdu
Posts: 81
Joined: Mon Mar 05, 2012 5:23 pm

Re: ${caret} doesn't work?

Post by stdu »

More exactly: Author inserts the PI

Code: Select all

<?UNIQUE_CARET_MARKER_FOR_AUTHOR?>
Radu
Posts: 9450
Joined: Fri Jul 09, 2004 5:18 pm

Re: ${caret} doesn't work?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: ${caret} doesn't work?

Post 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
Ionela Istodor
oXygen XML Editor and Author Support
stdu
Posts: 81
Joined: Mon Mar 05, 2012 5:23 pm

Re: ${caret} doesn't work?

Post by stdu »

That's great, thank you!
stdu
Posts: 81
Joined: Mon Mar 05, 2012 5:23 pm

Re: ${caret} doesn't work?

Post 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
mihaela
Posts: 515
Joined: Wed May 20, 2009 2:40 pm

Re: ${caret} doesn't work?

Post 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
Mihaela Calotescu
http://www.oxygenxml.com
Radu
Posts: 9450
Joined: Fri Jul 09, 2004 5:18 pm

Re: ${caret} doesn't work?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply