diff options
author | nyamatongwe <unknown> | 2010-02-24 08:10:23 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-02-24 08:10:23 +0000 |
commit | 4270edac726eeff0039af09fbd19e220f1a8c712 (patch) | |
tree | 178e6bd2632d3abf842dcb28a66e13d559c2eba4 /src | |
parent | 5ee22707c2e2e264c9e7dd0ae4d17197782eee06 (diff) | |
download | scintilla-mirror-4270edac726eeff0039af09fbd19e220f1a8c712.tar.gz |
Bug #2956543, R Lexer is case insensitive for keywords
Diffstat (limited to 'src')
-rw-r--r-- | src/LexR.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexR.cxx b/src/LexR.cxx index 67e779f55..cabbf5788 100644 --- a/src/LexR.cxx +++ b/src/LexR.cxx @@ -77,9 +77,9 @@ static void ColouriseRDoc(unsigned int startPos, int length, int initStyle, Word sc.SetState(SCE_R_DEFAULT); } } else if (sc.state == SCE_R_IDENTIFIER) { - if (!IsAWordChar(sc.ch) || (sc.ch == '.')) { + if (!IsAWordChar(sc.ch)) { char s[100]; - sc.GetCurrentLowered(s, sizeof(s)); + sc.GetCurrent(s, sizeof(s)); if (keywords.InList(s)) { sc.ChangeState(SCE_R_KWORD); } else if (keywords2.InList(s)) { |