Hi, I'm new to the forums and to the internals of C::B, so please forgive my ignorance...
I'm read through the wiki pages on writing plugin scripts, and this appears to be a very powerful tool. The wiki explains enough for me to modify the menus and add context menus. Could anyone help me go further by giving a demonstration of how to do the following within a script?
Say I have some code in the currently open editor panel:
I'd like to be able to right-click within the word "foo" and get a context menu entry "change foo to bar", and if I select this entry the code would change to:
Can the above be done, and if so, how. Clearly the work should be done from
GetModuleMenu(who, data), but I don't know how to access the string located under the cursor.
I've many more questions, but this would be a great start.