Python's corrections

This commit is contained in:
Dmitry Atamanov 2022-09-16 10:25:29 +05:00
parent 04ade6a1ad
commit 37c4b3dcaf
2 changed files with 2 additions and 3 deletions

View File

@ -1436,8 +1436,7 @@ gboolean highlighting_is_string_style(gint lexer, gint style)
style == SCE_P_FCHARACTER ||
style == SCE_P_FTRIPLE ||
style == SCE_P_FTRIPLEDOUBLE ||
style == SCE_P_STRINGEOL ||
style == SCE_P_ATTRIBUTE);
style == SCE_P_STRINGEOL);
case SCLEX_GDSCRIPT:
return (style == SCE_GD_STRING ||

View File

@ -1349,7 +1349,7 @@ static const HLStyle highlighting_styles_PYTHON[] =
{ SCE_P_FCHARACTER, "fcharacter", FALSE },
{ SCE_P_FTRIPLE, "ftriple", FALSE },
{ SCE_P_FTRIPLEDOUBLE, "ftripledouble", FALSE },
{ SCE_P_ATTRIBUTE, "fattribute", FALSE },
{ SCE_P_ATTRIBUTE, "attribute", FALSE },
{ SCE_P_DECORATOR, "decorator", FALSE }
};
static const HLKeyword highlighting_keywords_PYTHON[] =