[geany/geany] e5e376: Use faster squiggle underlining

Lex Trotman git-noreply at xxxxx
Sat Sep 22 02:47:29 UTC 2012


Branch:      refs/heads/master
Author:      Lex Trotman <elextr at gmail.com>
Committer:   Lex Trotman <elextr at gmail.com>
Date:        Sat, 22 Sep 2012 02:47:29
Commit:      e5e37601572f86b9c5712ace5e1d3b16caac67b2
             https://github.com/geany/geany/commit/e5e37601572f86b9c5712ace5e1d3b16caac67b2

Log Message:
-----------
Use faster squiggle underlining

Geany performance suffered with a lot of error underlining visible.
Matthew Brush developed an improved implementation that was accepted
into Scintilla, this selects that implementation.


Modified Paths:
--------------
    src/highlighting.c

Modified: src/highlighting.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -670,7 +670,7 @@ static void styleset_common(ScintillaObject *sci, guint ft_id)
 	SSM(sci, SCI_SETWRAPINDENTMODE, common_style_set.styling[GCS_LINE_WRAP_INDENT].background, 0);
 
 	/* Error indicator */
-	SSM(sci, SCI_INDICSETSTYLE, GEANY_INDICATOR_ERROR, INDIC_SQUIGGLE);
+	SSM(sci, SCI_INDICSETSTYLE, GEANY_INDICATOR_ERROR, INDIC_SQUIGGLEPIXMAP);
 	SSM(sci, SCI_INDICSETFORE, GEANY_INDICATOR_ERROR, invert(rotate_rgb(0xff0000)));
 
 	/* Search indicator, used for 'Mark' matches */



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list