diff options
| author | nyamatongwe <devnull@localhost> | 2010-02-24 08:10:23 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-02-24 08:10:23 +0000 | 
| commit | 48ce8d42d1f83fbd5f0fb5ee9feb020fd9039c05 (patch) | |
| tree | 178e6bd2632d3abf842dcb28a66e13d559c2eba4 /src/LexR.cxx | |
| parent | 0cc2f09e89c5a82d2b4baeb855d2cfe4e0face14 (diff) | |
| download | scintilla-mirror-48ce8d42d1f83fbd5f0fb5ee9feb020fd9039c05.tar.gz | |
Bug #2956543, R Lexer is case insensitive for keywords
Diffstat (limited to 'src/LexR.cxx')
| -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)) { | 
