[geany/geany-plugins] 9a5bde: Fix checking multiple lines at once

Enrico Tröger git-noreply at xxxxx
Sun Feb 7 15:25:15 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 07 Feb 2016 15:25:15 UTC
Commit:      9a5bde2e5e1d1145852d94b9e5b2794a1613ef76
             https://github.com/geany/geany-plugins/commit/9a5bde2e5e1d1145852d94b9e5b2794a1613ef76

Log Message:
-----------
Fix checking multiple lines at once

We need to actually increase the line number when checking multiple
lines, e.g. after pasting some text. Before we checked the same line
again and again.


Modified Paths:
--------------
    spellcheck/src/gui.c

Modified: spellcheck/src/gui.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -517,6 +517,7 @@ static gboolean check_lines(gpointer data)
 					msgwin_switch_tab(MSG_MESSAGE, FALSE);
 			}
 			g_free(line);
+			line_number++;
 		}
 	}
 	check_line_data.check_while_typing_idle_source_id = 0;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list