Update for new Scintilla styles

This commit is contained in:
Colomban Wendling 2012-07-14 15:29:10 +02:00
parent 03509ee1a8
commit 4cdcaa22e6
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ default=default
comment=comment
commentline=comment_line
commentdoc=comment_doc
preprocessorcomment=comment
number=number_1
word=keyword_1
word2=keyword_2

View File

@ -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);

View File

@ -180,6 +180,7 @@ static const HLStyle highlighting_styles_C[] =
{ 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 },