I'm using Paul Welter's Netspell
for the first time, and have rigged up a test harness. I've placed the needed DLL and dictionary files in the necessary /bin/ subfolder (I'm programming in C#, and will attach a zip of my test project):
I've created a test harness C# WinForms application with a textbox and a command button that invokes the SpellChecker. I enter a single intentionally misspelled word, "dictionery" (which should be "dictionary") into the textbox, and click the command button to invoke the spell checker. The SpellChecker_MisspelledWord() method gets called, as it should, and NetSpell's internal "Suggested Words" form pops up. I select the first suggested word, which happens to be the correct spelling, and click the "Replace" button.
Of course, I get a Not Implemented exception because I've not yet implemented the SpellChecker_ReplacedWord event.
I know there's a SpellChecker.ReplaceWord() method, but am not sure where/how to use it.What I want to happen: when I select the correctly spelled word, "dictionary" (see second screenshot above), and click the Replace button, I want to programmatically replace my program's textbox's incorrectly spelled word "dictionery" with the replacement word. Even more helpful that a post of corrective action would be a post of corrective action and an attached zip of my project modified so that it works.
Any help appreciated. I've been looking at the methods and events in Object Viewer, but so far nothing has clicked in my head...