Add SCE_[CD]_COMMENTDOCKEYWORD(ERROR) comment detection to
is_comment(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2870 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
a134c529c2
commit
29b778fb0a
@ -1,3 +1,10 @@
|
||||
2008-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/editor.c:
|
||||
Add SCE_[CD]_COMMENTDOCKEYWORD(ERROR) comment detection to
|
||||
is_comment().
|
||||
|
||||
|
||||
2008-08-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/printing.c:
|
||||
|
@ -2561,6 +2561,8 @@ static gboolean is_comment(gint lexer, gint prev_style, gint style)
|
||||
style == SCE_C_COMMENTLINE ||
|
||||
style == SCE_C_COMMENTDOC ||
|
||||
style == SCE_C_COMMENTLINEDOC ||
|
||||
style == SCE_C_COMMENTDOCKEYWORD ||
|
||||
style == SCE_C_COMMENTDOCKEYWORDERROR ||
|
||||
style == SCE_C_CHARACTER ||
|
||||
style == SCE_C_PREPROCESSOR ||
|
||||
style == SCE_C_STRING)
|
||||
@ -2572,8 +2574,10 @@ static gboolean is_comment(gint lexer, gint prev_style, gint style)
|
||||
if (style == SCE_D_COMMENT ||
|
||||
style == SCE_D_COMMENTLINE ||
|
||||
style == SCE_D_COMMENTDOC ||
|
||||
style == SCE_D_COMMENTLINEDOC ||
|
||||
style == SCE_D_COMMENTNESTED ||
|
||||
style == SCE_D_COMMENTLINEDOC ||
|
||||
style == SCE_D_COMMENTDOCKEYWORD ||
|
||||
style == SCE_D_COMMENTDOCKEYWORDERROR ||
|
||||
style == SCE_D_CHARACTER ||
|
||||
style == SCE_D_STRING)
|
||||
result = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user