SpellWordReplaced
This event is fired when the spell-checker replaces a misspelled word.
tern.SpellWordReplaced+=
new Tern.EventSpellWordReplaced(SpellWordReplaced);
protected void SpellWordReplaced(object Sender,int CharPos,
string OldWord, string NewWord)
{
....
}The 'CharPos' parameter indicates the character position of the replaced word. You can use the TerAbsToRowCol method to convert the character position to a line/column value.
The 'PrevWord' parameter indicates replaced word.
The 'NewWord' parameter indicates new word.