Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 21 Feb 2017 13:16:56 UTC Commit: 93f273428aeecfbf47236c22b85f6a1ecc1dfba0 https://github.com/geany/geany/commit/93f273428aeecfbf47236c22b85f6a1ecc1dfb...
Log Message: ----------- Update for new Scintilla styles
Modified Paths: -------------- data/filedefs/filetypes.python src/highlighting.c src/highlightingmappings.h
Modified: data/filedefs/filetypes.python 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -17,6 +17,10 @@ commentblock=comment stringeol=string_eol word2=keyword_2 decorator=decorator +fstring=string_1 +fcharacter=character +ftriple=string_2 +ftripledouble=string_2
[keywords] # all items must be in one line
Modified: src/highlighting.c 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -1424,6 +1424,10 @@ gboolean highlighting_is_string_style(gint lexer, gint style) style == SCE_P_TRIPLE || style == SCE_P_TRIPLEDOUBLE || style == SCE_P_CHARACTER || + style == SCE_P_FSTRING || + style == SCE_P_FCHARACTER || + style == SCE_P_FTRIPLE || + style == SCE_P_FTRIPLEDOUBLE || style == SCE_P_STRINGEOL);
case SCLEX_F77:
Modified: src/highlightingmappings.h 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -1257,6 +1257,10 @@ static const HLStyle highlighting_styles_PYTHON[] = { SCE_P_COMMENTBLOCK, "commentblock", FALSE }, { SCE_P_STRINGEOL, "stringeol", FALSE }, { SCE_P_WORD2, "word2", FALSE }, + { SCE_P_FSTRING, "fstring", FALSE }, + { SCE_P_FCHARACTER, "fcharacter", FALSE }, + { SCE_P_FTRIPLE, "ftriple", FALSE }, + { SCE_P_FTRIPLEDOUBLE, "ftripledouble", FALSE }, { SCE_P_DECORATOR, "decorator", FALSE } }; static const HLKeyword highlighting_keywords_PYTHON[] =
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).