SF.net SVN: geany:[3796] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun May 17 15:46:09 UTC 2009
Revision: 3796
http://geany.svn.sourceforge.net/geany/?rev=3796&view=rev
Author: eht16
Date: 2009-05-17 15:46:09 +0000 (Sun, 17 May 2009)
Log Message:
-----------
Remember the additional Find in Files search flags at startup.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-05-17 15:45:54 UTC (rev 3795)
+++ trunk/ChangeLog 2009-05-17 15:46:09 UTC (rev 3796)
@@ -3,6 +3,8 @@
* tagmanager/python.c:
Fix missing symbols for variables when an equal sign is used
in a comment on the same line as the variable declaration.
+ * src/search.c:
+ Remember the additional Find in Files search flags at startup.
2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2009-05-17 15:45:54 UTC (rev 3795)
+++ trunk/src/search.c 2009-05-17 15:46:09 UTC (rev 3796)
@@ -83,8 +83,12 @@
{
gint fif_mode;
gchar *fif_extra_options;
+ gboolean fif_case_sensitive;
+ gboolean fif_match_whole_word;
+ gboolean fif_invert_results;
+ gboolean fif_recursive;
}
-settings = {0, NULL};
+settings = {0, NULL, FALSE, FALSE, FALSE, FALSE};
static GeanyPrefGroup *fif_prefs = NULL;
@@ -171,6 +175,14 @@
NULL);
stash_group_add_entry(group, &settings.fif_extra_options,
"fif_extra_options", "", "entry_extra");
+ stash_group_add_toggle_button(group, &settings.fif_case_sensitive,
+ "fif_case_sensitive", TRUE, "check_case");
+ stash_group_add_toggle_button(group, &settings.fif_match_whole_word,
+ "fif_match_whole_word", FALSE, "check_wholeword");
+ stash_group_add_toggle_button(group, &settings.fif_invert_results,
+ "fif_invert_results", FALSE, "check_invert");
+ stash_group_add_toggle_button(group, &settings.fif_recursive,
+ "fif_recursive", FALSE, "check_recursive");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list