When session opening starts, this signal is emitted with parameter TRUE, when 
it stops, with FALSE.

This gives plugins information e.g. whether document opening happens as a 
result of user action or whether it's part of initial session opening.

For the LSP plugin this is used to detect the finally displayed document for 
which the server is started, otherwise if "document-open" is used, it 
would start servers for all open document filetypes immediately on Geany start 
which is unnecessary and could slow start time.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3707

-- Commit Summary --

  * Add "session-opening" signal emitted when session opening 
starts/stops

-- File Changes --

    M doc/pluginsignals.c (12)
    M src/geanyobject.c (7)
    M src/geanyobject.h (1)
    M src/keyfile.c (4)
    M src/libmain.c (16)
    M src/main.h (2)

-- Patch Links --

https://github.com/geany/geany/pull/3707.patch
https://github.com/geany/geany/pull/3707.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3707
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3...@github.com>

Reply via email to