Why IDE_GetCursorWordPosition() returns so unusable values?
Could you make it (or another method) to return an offset from the beginning of the selected word?
Or it will be excellent, if the plugin have full access to TSyntaxMemo methods and properies.