Change "replace_and_find_by_default" default to true

This commit is contained in:
Matthew Brush 2014-10-10 18:40:54 -07:00
parent bae420a768
commit 41c66e0eb0
2 changed files with 2 additions and 2 deletions

View File

@ -2652,7 +2652,7 @@ extract_filetype_regex Regex to extract filetype name from file S
**Search related**
find_selection_type See `Find selection`_. 0 immediately
**Replace related**
replace_and_find_by_default Set ``Replace & Find`` button as default so false immediately
replace_and_find_by_default Set ``Replace & Find`` button as default so true immediately
it will be activated when the Enter key is
pressed while one of the text fields has
focus.

View File

@ -232,7 +232,7 @@ static void init_pref_groups(void)
stash_group_add_string(group, &file_prefs.extract_filetype_regex,
"extract_filetype_regex", GEANY_DEFAULT_FILETYPE_REGEX);
stash_group_add_boolean(group, &search_prefs.replace_and_find_by_default,
"replace_and_find_by_default", FALSE);
"replace_and_find_by_default", TRUE);
/* Note: Interface-related various prefs are in ui_init_prefs() */