[Lazarus] Code Explorer synchronized with caret position

Martin lazarus at mfriebe.de
Tue Jul 6 19:06:25 CEST 2010


On 06/07/2010 15:02, theo wrote:
>
> There I'm calling "SelectSourceEditorNode" which looks as if it would 
> do what I intend.
> Btw. This method is never called throughout the Project afaics.

I don't know about that.

But in order to hook the changes to the caret etc => look at fpdoc.

it gets a notification via sourceEditorIntf.
In this notification you must be very very fast (so you can not use 
codetool to look up the current procedure => you can merely use it to 
set a flag, and then act OnIdle




More information about the Lazarus mailing list