[Github-comments] [geany/geany] Auto-close brackets if matching bracket found. Fixes #1041. (#1060)

Colomban Wendling notifications at xxxxx
Thu Jun 9 17:35:29 UTC 2016


> @@ -1108,6 +1108,9 @@ on_prefs_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
>  
>  		widget = ui_lookup_widget(ui_widgets.prefs_dialog, "check_symbol_auto_completion");
>  		editor_prefs.auto_complete_symbols = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
> +		
> +		widget = ui_lookup_widget(ui_widgets.prefs_dialog, "check_always_auto_close_brackets");
> +		editor_prefs.always_auto_close_brackets = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));

the setting is never loaded.  Also, new settings should use Stash API, and here probably be in *keyfile.c:init_pref_groups()*.

---
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/1060/files/67d9932e2620c252bb9e94d81dcc4991608b4fb0#r66485755
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160609/0e2f5c6d/attachment.html>


More information about the Github-comments mailing list