diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-11 22:34:59 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-11 22:34:59 (GMT) |
commit | 054d2d76f1951c20822286bce0128e60c26c4b9b (patch) | |
tree | 450c707498f4008c99302c12e274baefc50f383c /src/core | |
parent | 7bd707cb43ed8830add9d9eec3a670c9a0ce4d68 (diff) |
Drawn a selection line on buffer views.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@510 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/params.c | 3 | ||||
-rw-r--r-- | src/core/params.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c index 75722b6..779bb38 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -156,6 +156,9 @@ bool load_main_config_parameters(void) param = g_generic_config_create_param(config, MPK_DISPLAY_ON_SEL, CPT_BOOLEAN, false); if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_SELECTION_LINE, CPT_BOOLEAN, true); + if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_KEYBINDINGS_EDIT, CPT_STRING, "<Shift>F2"); if (param == NULL) return false; diff --git a/src/core/params.h b/src/core/params.h index 9eac629..6598c00 100644 --- a/src/core/params.h +++ b/src/core/params.h @@ -46,6 +46,7 @@ #define MPK_ELLIPSIS_HEADER "gui.editor.panels.ellipsis_header" #define MPK_ELLIPSIS_TAB "gui.editor.panels.ellipsis_tab" #define MPK_DISPLAY_ON_SEL "gui.editor.panels.display_on_selection" +#define MPK_SELECTION_LINE "gui.editor.views.selection_line" #define MPK_KEYBINDINGS_EDIT "gui.key_bindings.global.edit" #define MPK_AUTO_SAVE "project.autosave" |