TrText_SetSpellingIgnoreList (function reference)

By November 1, 2017 November 13th, 2017 Online Help, Troi Text Plug-in
Troi Text Plug-in > Functions reference > TrText_SetSpellingIgnoreList
Troi Text Plug-in for FileMaker Pro

TrText_SetSpellingIgnoreList

Sets the list of words that should be ignored.

SyntaxFunction badge

TrText_SetSpellingIgnoreList ( switches ; ignoreWordList )

Parameters

switchesnot used, reserved for future use. Leave blank or put "-Unused"
ignoreWordListthe list of words to be ignored. Each word separated by a return

Returned Result

Data type returned

Error code

Result

If successful the plug-in returns 0.

If unsuccessful it returns an error code starting with $$ and the error code. Returned error codes can be:

0No errorThe ignore list was set.
$$-4221InvalidOSVersionThe spelling functions are not available on this platform.

Other errors may be returned.

Originated in

Troi Text Plug-in 4.0

Compatibility

FileMaker Pro 12 to 16

Considerations

Note that the spelling functions are available for Windows 8 and later (and all Mac OS versions).

Example

TrText_SetSpellingIgnoreList ( "-Unused" ; "WeCorp¶Dryheat¶Goupil" )

This will set the list of words to ignore (for the moment) to : “WeCorp”, “DryHeat” and “Goupil”.

You can update this by setting a different list.
You can reset this list by setting an empty ignoreWordList.

Related functionsFunction badge

TrText_CheckSpelling
TrText_LearnSpelling
TrText_UnlearnSpelling

Related script stepScript step badge

Set Spelling Ignore List

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 12 to 16 –> TrText_SetSpellingIgnoreList (textp4265) 2017-1113 11:23:07