diff options
author | Zufu Liu <unknown> | 2019-06-25 11:45:55 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-06-25 11:45:55 +1000 |
commit | 9396cc9c1f5781c3aca8b3b9f064d1046734dd1b (patch) | |
tree | 1e70a3dd3422542645328dd3bcbd15c19945d575 | |
parent | 83a750f743e89f8a7c5272ce82f6738bc3a4b3d8 (diff) | |
download | scintilla-mirror-9396cc9c1f5781c3aca8b3b9f064d1046734dd1b.tar.gz |
Bug [#2112]. Matlab lexer now treats keywords as case-sensitive.
-rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
-rw-r--r-- | lexers/LexMatlab.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 6afe98657..b160a52c4 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -574,6 +574,10 @@ <a href="https://sourceforge.net/p/scintilla/feature-requests/1295/">Feature #1295</a>. </li> <li> + Matlab lexer now treats keywords as case-sensitive. + <a href="https://sourceforge.net/p/scintilla/bugs/2112/">Bug #2112</a>. + </li> + <li> Platform layers should use InsertCharacter method to perform keyboard and IME input, replacing AddCharUTF method. <a href="https://sourceforge.net/p/scintilla/feature-requests/1293/">Feature #1293</a>. 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) { |