[Github-comments] [geany/geany] Save main and project configuration whenever documents are opened/closed (#2114)
elextr
notifications at xxxxx
Mon Apr 15 21:06:05 UTC 2019
elextr commented on this pull request.
> void configuration_init(void)
{
keyfile_groups = g_ptr_array_new();
pref_groups = g_ptr_array_new();
init_pref_groups();
+
+ g_signal_connect(geany_object, "document-new", G_CALLBACK(document_list_changed_cb), NULL);
+ g_signal_connect(geany_object, "document-open", G_CALLBACK(document_list_changed_cb), NULL);
+ g_signal_connect(geany_object, "document-save", G_CALLBACK(document_list_changed_cb), NULL);
Well, the session includes cursor position so its probably worth saving.
--
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/2114#discussion_r275544565
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190415/6d5ecf4f/attachment.html>
More information about the Github-comments
mailing list