Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 17 May 2016 20:09:48 UTC Commit: 9313b17559f4ea60acae95db96523dbd02c80e35 https://github.com/geany/geany/commit/9313b17559f4ea60acae95db96523dbd02c80e...
Log Message: ----------- Don't accumulate multiple colourises
I don't know if this ever happens but the check shouldn't hurt.
Modified Paths: -------------- src/document.c
Modified: src/document.c 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -512,6 +512,9 @@ static gint document_get_new_idx(void)
static void queue_colourise(GeanyDocument *doc) { + if (doc->priv->colourise_needed) + return; + /* Colourise the editor before it is next drawn */ doc->priv->colourise_needed = TRUE;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).