Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Mon, 09 Mar 2015 20:34:16 UTC Commit: 4ecdd9d56328a612310c234437a02e63bf0482de https://github.com/geany/geany-plugins/commit/4ecdd9d56328a612310c234437a02e...
Log Message: ----------- Merge pull request #200 from b4n/pairtaghighlighter/indic-clear-fix
pairtaghighlighter: Fix clearing previous indicators
Modified Paths: -------------- pairtaghighlighter/src/pair_tag_highlighter.c
Modified: pairtaghighlighter/src/pair_tag_highlighter.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -150,7 +150,7 @@ static void highlight_matching_pair(ScintillaObject *sci) static void clear_previous_highlighting(ScintillaObject *sci, gint rangeStart, gint rangeEnd) { scintilla_send_message(sci, SCI_SETINDICATORCURRENT, INDICATOR_TAGMATCH, 0); - scintilla_send_message(sci, SCI_INDICATORCLEARRANGE, rangeStart, rangeEnd+1); + scintilla_send_message(sci, SCI_INDICATORCLEARRANGE, rangeStart, rangeEnd-rangeStart+1); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).