.tdi term lists - phrases possible?

<oXygen/> general issues.
tcleghorn
Posts: 4

.tdi term lists - phrases possible?

Wed Jan 18, 2017 7:47 pm

Hi,
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 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!
adrian
Posts: 2337

Re: .tdi term lists - phrases possible?

Thu Jan 19, 2017 7:19 pm

Hello,

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.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests