[Lazarus] Getting notified when active editor changes
Martin Frb
lazarus at mfriebe.de
Sat Aug 3 11:46:52 CEST 2024
On 03/08/2024 10:41, Michael Van Canneyt via lazarus wrote:
>
> Hi,
>
> I'm trying to improve the "file browser" plugin.
>
> I would like to keep it in sync with the currently active editor:
> In the file/directory tree, always select the directory/file of the
> currently
> active editor. (if it is in the tree, of course)
unit SrcEditorIntf;
TSemChangeReason = (
semEditorActivate, // Editor is ActiveEditor
not sure you may additionally need to watch for new created....
More information about the lazarus
mailing list