I have followed the smarttag SDK and built a skeleton recognizer with stub for actions.

I want to be able to programmatically refer to the Range in the Word document that contains the recogized text, so I can make changes to it.

I can find no documentation on the argument: 'Target as object' passed to ISmartTagAction_InvokeVerb.

Debugging the smarttag is painful as it can only be run from word as a dll, so there is no debug mode, as far as I can tell.

Has anyone got some example code to get into Word's object model from a smarttag action?