SF.net SVN: geany:[3973] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Jul 16 12:21:56 UTC 2009
Revision: 3973
http://geany.svn.sourceforge.net/geany/?rev=3973&view=rev
Author: ntrel
Date: 2009-07-16 12:21:56 +0000 (Thu, 16 Jul 2009)
Log Message:
-----------
Make Mark All keybinding clear search highlighting when there's no
current word.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-07-16 05:52:58 UTC (rev 3972)
+++ trunk/ChangeLog 2009-07-16 12:21:56 UTC (rev 3973)
@@ -1,3 +1,10 @@
+2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/search.c:
+ Make Mark All keybinding clear search highlighting when there's no
+ current word.
+
+
2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2009-07-16 05:52:58 UTC (rev 3972)
+++ trunk/src/search.c 2009-07-16 12:21:56 UTC (rev 3973)
@@ -967,12 +967,13 @@
struct Sci_TextToFind ttf;
g_return_val_if_fail(doc != NULL, 0);
- if (!NZV(search_text))
- return 0;
/* clear previous search indicators */
editor_indicator_clear(doc->editor, GEANY_INDICATOR_SEARCH);
+ if (!NZV(search_text))
+ return 0;
+
len = strlen(search_text);
ttf.chrg.cpMin = 0;
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