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....
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus