Sorry to continue such an old thread, but I'm looking for the IDE_SetSelectedText function and this thread seems to be the only place in the world that refers to it.
Although IDE_GetSelectedText exists, I cannot find IDE_SetSelectedText in the documentation, nor in PlugInIntf.pas.
I now use a...