[Geany-Devel] [PATCH] Fix marker blinking by specifying of which indicator to clear

Pavel Roschin roshin at xxxxx
Mon Aug 4 15:10:08 UTC 2014


---
 spellcheck/src/gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spellcheck/src/gui.c b/spellcheck/src/gui.c
index 5748e72..e05d5ce 100644
--- a/spellcheck/src/gui.c
+++ b/spellcheck/src/gui.c
@@ -404,7 +404,7 @@ static void indicator_clear_on_line(GeanyDocument *doc,
gint line_number) 
 	start_pos = sci_get_position_from_line(doc->editor->sci, line_number);
 	length = sci_get_line_length(doc->editor->sci, line_number);
-
+	sci_indicator_set(doc->editor->sci, GEANY_INDICATOR_ERROR);
 	sci_indicator_clear(doc->editor->sci, start_pos, length);
 }
 
-- 
1.9.2



More information about the Devel mailing list