.tdi term lists - phrases possible?

<oXygen/> general issues.
Posts: 6

.tdi term lists - phrases possible?

Wed Jan 18, 2017 7:47 pm

I can't work out whether it's possible to add a multiple word phrase to the spellcheck dictionaries in a .tdi file - searching the web, I've found conflicting information about Hunspell, without any clear detail.
What I'd like is to have something like this:

Code: Select all

*power on
power up

...such that "power-on" or "power on" would be flagged, and ideally, "power up" be suggested. Is this possible with just a .tdi? If not, would customising the .aff file get me anywhere? Or am I limited to checking single words without spaces?
Thanks in advance!
Posts: 2459

Re: .tdi term lists - phrases possible?

Thu Jan 19, 2017 7:19 pm


At least for Oxygen (v18), it is only possible to use single words. So, you can flag "*power-on" and that's about it.
I don't see a way to make this work for multiple words.

You could use "AutoCorrect" (Options > Preferences > Editor / Edit Modes / Author / AutoCorrect) and replace "power-on" and "power on" with "power up". But this only works in Author mode and only while typing.

Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests