[geany/geany] 23607a: Properly categorize VHDL strings

Colomban Wendling git-noreply at xxxxx
Sun Dec 9 10:23:07 UTC 2018


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 09 Dec 2018 10:23:07 UTC
Commit:      23607a8bb6fcce968152f96e056ac306ff87948b
             https://github.com/geany/geany/commit/23607a8bb6fcce968152f96e056ac306ff87948b

Log Message:
-----------
Properly categorize VHDL strings


Modified Paths:
--------------
    src/highlighting.c

Modified: src/highlighting.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -1587,6 +1587,10 @@ gboolean highlighting_is_string_style(gint lexer, gint style)
 		case SCLEX_VERILOG:
 			return (style == SCE_V_STRING);
 
+		case SCLEX_VHDL:
+			return (style == SCE_VHDL_STRING ||
+				style == SCE_VHDL_STRINGEOL);
+
 		case SCLEX_CAML:
 			return (style == SCE_CAML_CHAR ||
 				style == SCE_CAML_STRING);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list