Skip to main content

TrText_UnlearnSpelling (function reference)

By December 1, 2021December 21st, 2021Online Help, Troi Text Plug-in
Troi Text Plug-in > Functions reference > TrText_UnlearnSpelling
Troi Text Plug-in for FileMaker Pro

TrText_UnlearnSpelling

Forget this word in the spell checker dictionary.

SyntaxFunction badge

TrText_UnlearnSpelling ( switches ; wordToForget )

Parameters

switches not used, reserved for future use. Leave blank or put "-Unused"
wordToForget the word to be forgotten

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:

0 No error The word was unlearned
$$-4221 InvalidOSVersion The spelling functions are not available on this platform.

Other errors may be returned.

Originated in

Troi Text Plug-in 4.0

Compatibility

FileMaker Pro 16 to 19

Considerations

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

Example

TrText_UnlearnSpelling ( "-Unused" ; "apekool" )

This will remove the word “apekool” from the dictionary of the Operating System.

Related functionsFunction badge

TrText_CheckSpelling
TrText_LearnSpelling
TrText_SetSpellingIgnoreList

Related script stepScript step badge

Unlearn Spelling

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 16 to 19 –> TrText_UnlearnSpelling (textp4267) 2021-1221 15:18:35