[geany/geany] 4cdcaa: Update for new Scintilla styles

Colomban Wendling git-noreply at xxxxx
Mon Jul 30 15:09:15 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 14 Jul 2012 13:30:03
Commit:      4cdcaa22e680757f4eca4b55a69e6a01eea07549
             https://github.com/geany/geany/commit/4cdcaa22e680757f4eca4b55a69e6a01eea07549

Log Message:
-----------
Update for new Scintilla styles


Modified Paths:
--------------
    data/filetypes.c
    src/highlighting.c
    src/highlightingmappings.h

Modified: data/filetypes.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -5,6 +5,7 @@
 comment=comment
 commentline=comment_line
 commentdoc=comment_doc
+preprocessorcomment=comment
 number=number_1
 word=keyword_1
 word2=keyword_2


Modified: src/highlighting.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1554,6 +1554,7 @@ gboolean highlighting_is_comment_style(gint lexer, gint style)
 			return (style == SCE_C_COMMENT ||
 				style == SCE_C_COMMENTLINE ||
 				style == SCE_C_COMMENTDOC ||
+				style == SCE_C_PREPROCESSORCOMMENT ||
 				style == SCE_C_COMMENTLINEDOC ||
 				style == SCE_C_COMMENTDOCKEYWORD ||
 				style == SCE_C_COMMENTDOCKEYWORDERROR);


Modified: src/highlightingmappings.h
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -180,6 +180,7 @@
 	{ SCE_C_COMMENT,				"comment",					FALSE },
 	{ SCE_C_COMMENTLINE,			"commentline",				FALSE },
 	{ SCE_C_COMMENTDOC,				"commentdoc",				FALSE },
+	{ SCE_C_PREPROCESSORCOMMENT,	"preprocessorcomment",		FALSE },
 	{ SCE_C_NUMBER,					"number",					FALSE },
 	{ SCE_C_WORD,					"word",						FALSE },
 	{ SCE_C_WORD2,					"word2",					FALSE },


@@ Diff output truncated at 100000 characters. @@


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



More information about the Commits mailing list