[Lazarus] Getting notified when active editor changes

Michael Van Canneyt michael at freepascal.org
Sun Aug 4 09:05:16 CEST 2024



On Sat, 3 Aug 2024, Ondrej Pokorny wrote:

> On 03.08.2024 15:11, Michael Van Canneyt via lazarus wrote:
>> I implemented an initial version of this new feature, I pushed it to the 
>> git repo.
>
> I always wanted to do this for the project inspector. So I used your approach 
> as an inspiration :)

I updated my lazarus, works well! :-)

>
> I also found out that LazarusIDE.RemoveAllHandlersOfObject doesn't remove the 
> SourceEditorManagerIntf events. I fixed that in your code.

Ah, good to know. Thanks for fixing it !

Michael.


More information about the lazarus mailing list