ScottMattes
Member³
My FindAll plugin is almost done, but I have a problem that I need clarification on.
When invoked, my plugin grabs the editor handle and uses that for the entire process. It use to only grab the editor handle when the user clicked on a found line, but if the topmost window wasn't the one that was topmost when the plugin was invoked it didn't do what was desired.
Now, after doing the search, I change which PLSD window is topmost and then click on a found line in my plugin, the topmost window AND the window that was topmost when the plugin was invoked change the current line in response to the plugin doing IDE_SetCursor.
I looked and looked and could not find an API call that gives the index number of the topmost window so that my plugin could always make it topmost first.
------------------
------------
Scott Mattes
When invoked, my plugin grabs the editor handle and uses that for the entire process. It use to only grab the editor handle when the user clicked on a found line, but if the topmost window wasn't the one that was topmost when the plugin was invoked it didn't do what was desired.
Now, after doing the search, I change which PLSD window is topmost and then click on a found line in my plugin, the topmost window AND the window that was topmost when the plugin was invoked change the current line in response to the plugin doing IDE_SetCursor.
I looked and looked and could not find an API call that gives the index number of the topmost window so that my plugin could always make it topmost first.
------------------
------------
Scott Mattes