TE Edit Control .NET Core / .NET Framework Help
Product page

Spell Checking

SpellTime must be installed to use these functions. The SpellTIme.DLL and the SpellTime dictionaries (dict35.* files) should be placed where the tern32.dll file is located.

After a Tern control is created, please call the TerSetStLicenseKey function to set the product key for SpellTime.

You can use the ID_SPELL and ID_AUTO_SPELL commands to use on-demand or as-you-type spell-checking.

You can also use the TerSpellCheck function to invoke on-demand spell-checking.

If you need the spell-time dictionaries to be accessed from a different directory, then create an instance of SpellTime class providing the dictionary path to the constructor. For this, you will need to include a reference to SpellTime.dll in your project. Once you get the SpellTime object, you can pass the SpellTime object to the current instance of Tern using the TerInitSpellTime function. This technique can also be used to share one instance of SpellTime with more than one instances of Tern. By default, each instance of Tern creates its own SpellTime object.