${caret} editor variable doesn't work with "Create new file"

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

${caret} editor variable doesn't work with "Create new file"

Post by Frank Ralf »

Hi,

I've create a DITA topic template which uses the ${caret} editor variable to position the cursor in the title after creating a new file from the template.

Code: Select all

<title>${caret}${cfn}</title>
This does work as expected when creating a new file via File > New, but not with Create new file from the Cannot open the specified file dialog. According to the documentation I'd expect this to work also.
${caret}
- The position where the caret is inserted. This variable can be used in a code template, in Author operations, or in a selection plugin;


Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: ${caret} editor variable doesn't work with "Create new f

Post by Radu »

Hi Frank,

Thanks, we'll try to find a fix for this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: ${caret} editor variable doesn't work with "Create new f

Post by Frank Ralf »

Thanks, Radu. This would be really helpful, as this is our preferred way of providing document templates as maps with pre-filled topicrefs, without having to provide the actual topic files.

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: ${caret} editor variable doesn't work with "Create new f

Post by Radu »

Hi,

Just to update this thread, this issue should be fixed in Oxygen 16.1.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 482
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: ${caret} editor variable doesn't work with "Create new f

Post by Frank Ralf »

Thanks for the update, Radu.

Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply