Page 1 of 1

Code template no longer working after update to 21.1

Posted: Thu May 23, 2019 7:59 pm
by martindholmes
Hi there,

I have a bunch of code templates that look like this:

Code: Select all

<title level="a">${xpath_eval(replace('${selection}', '[“”]+', ''))}</title>
which were working OK, but having just upgraded to 21.1, they don't seem to be working; nothing happens when I hit the keystroke sequence defined for the template (in this case Control + Shift + A / M1+M2-A). The idea is that a string of text with quotes around it is tagged as an analytic title in TEI, and the quotation marks are removed in the process.

Has something changed which might cause this? Or is there a way to rewrite this so it will work?

All help appreciated,
Martin

Re: Code template no longer working after update to 21.1

Posted: Fri May 24, 2019 2:41 pm
by alex_jitianu
Hi Martin,

I'm sorry for the nuisance... I've fixed the issue and the fix will be available in the next maintenance build. If it bothers you too much, please let me know. I can send you an updated version of the editor parser engine.

Best regards,
Alex

Re: Code template no longer working after update to 21.1

Posted: Fri May 24, 2019 6:15 pm
by martindholmes
Hi Alex,

If it's as simple as dropping a new version of a jar file in the lib folder, then please do send it along (mholmes@uvic.ca). Otherwise, I'm happy to wait for the next release.

All the best,
Martin

Re: Code template no longer working after update to 21.1

Posted: Tue Jun 18, 2019 3:20 pm
by Radu
Hi,

Just to update this thread, we fixed the problem in the latest minor bug fix release available on our web site.

Regards,
Radu