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

TerAddAutoCompWord

Set an auto-completion word/phrase pair.

bool TerAddAutoCompWord(ACWord, ACPhrase)
string ACWord;An auto-completion key word.
string ACPhrase;The auto-completion phrase for the key word.

Description: This function adds the key word and the expansion phrase to the auto-completion list. When the user type a key word, the control automatically replaces it with the corresponding phrase.

Result: This function returns True when successful.