From 1befbf9528f9d44e62a17f50f4b6da3f8691074d Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Tue, 25 Jun 2019 11:45:55 +1000 Subject: Backport: Bug [#2112]. Matlab lexer now treats keywords as case-sensitive. Backport of changeset 7604:f065b241925e. --- lexers/LexMatlab.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexMatlab.cxx') diff --git a/lexers/LexMatlab.cxx b/lexers/LexMatlab.cxx index a36a99502..3d08c9a33 100644 --- a/lexers/LexMatlab.cxx +++ b/lexers/LexMatlab.cxx @@ -155,7 +155,7 @@ static void ColouriseMatlabOctaveDoc( } else if (sc.state == SCE_MATLAB_KEYWORD) { if (!isalnum(sc.ch) && sc.ch != '_') { char s[100]; - sc.GetCurrentLowered(s, sizeof(s)); + sc.GetCurrent(s, sizeof(s)); if (keywords.InList(s)) { if (strcmp ("end", s) == 0 && allow_end_op) { -- cgit v1.2.3