[geany/geany-plugins] b390b2: PairTagHighlighter: enable SCLEX_XML lexer support

Volodymyr Kononenko git-noreply at xxxxx
Wed Nov 20 09:14:59 UTC 2013


Branch:      refs/heads/master
Author:      Volodymyr Kononenko <vm at kononenko.ws>
Committer:   Volodymyr Kononenko <volodymyr.kononenko at globallogic.com>
Date:        Wed, 20 Nov 2013 09:14:59 UTC
Commit:      b390b2d0b7d3aa9f6d408c7a7e93850c0f893d89
             https://github.com/geany/geany-plugins/commit/b390b2d0b7d3aa9f6d408c7a7e93850c0f893d89

Log Message:
-----------
PairTagHighlighter: enable SCLEX_XML lexer support


Modified Paths:
--------------
    pairtaghighlighter/src/pair_tag_highlighter.c

Modified: pairtaghighlighter/src/pair_tag_highlighter.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -376,7 +376,7 @@ static gboolean on_editor_notify(GObject *obj, GeanyEditor *editor,
     gint lexer;
 
     lexer = sci_get_lexer(editor->sci);
-    if(lexer != SCLEX_HTML)
+    if((lexer != SCLEX_HTML) && (lexer != SCLEX_XML))
     {
         return FALSE;
     }



--------------
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