Page 1 of 1

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

Posted: Thu Sep 04, 2014 4:17 pm
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

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

Posted: Thu Sep 04, 2014 4:55 pm
by Radu
Hi Frank,

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

Regards,
Radu

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

Posted: Thu Sep 04, 2014 6:27 pm
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

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

Posted: Wed Apr 01, 2015 10:07 am
by Radu
Hi,

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

Regards,
Radu

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

Posted: Wed Apr 01, 2015 11:35 am
by Frank Ralf
Thanks for the update, Radu.

Frank