SF.net SVN: geany:[3231] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sat Nov 15 15:53:40 UTC 2008
Revision: 3231
http://geany.svn.sourceforge.net/geany/?rev=3231&view=rev
Author: eht16
Date: 2008-11-15 15:53:40 +0000 (Sat, 15 Nov 2008)
Log Message:
-----------
Clear previously set search indicators before when using 'Mark' in the Find dialog.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-11-15 15:53:05 UTC (rev 3230)
+++ trunk/ChangeLog 2008-11-15 15:53:40 UTC (rev 3231)
@@ -4,6 +4,8 @@
Fix wrong highlighting of search results when using 'Mark' in
the Find dialog.
Fix possible crash when using the Find in Files dialog.
+ Clear previously set search indicators before when using 'Mark' in
+ the Find dialog.
2008-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2008-11-15 15:53:05 UTC (rev 3230)
+++ trunk/src/search.c 2008-11-15 15:53:40 UTC (rev 3231)
@@ -846,6 +846,9 @@
g_return_val_if_fail(doc != NULL, 0);
+ /* clear previous search indicators */
+ editor_clear_indicators_full(doc->editor, GEANY_INDICATOR_SEARCH);
+
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