[Github-comments] [geany/geany] Plugin-API: extended project API (#2234)

LarsGit223 notifications at xxxxx
Sat Aug 3 10:50:28 UTC 2019


> It would probably be possible to add a document_before_open signal that provides the filename and returns true to continue opening and false to not do the open. Then you can stash the filename and stop the open until you are ready to do it.

Thanks but it's not needed I think. As the open happens on clicking a row in the Workbench sidebar, I can make the catch there and move my project switching code in the "row-activate" callback before calling document-open (haven't looked at it for some time but should be possible).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2234#issuecomment-517915487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190803/a148a64f/attachment.html>


More information about the Github-comments mailing list