TE Edit Control Java / HTML-JavaScript Help
Product page

TerAddAutoCompWord

Set an auto-completion word/phrase pair.

boolean 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.