diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 12:33:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 12:33:18 -0600 |
commit | 03bc485016127d419bbbbc3cfb09e21e8754b383 (patch) | |
tree | cad8234bcf26063239ac7a565298b897ffdeef57 /src/LexCPP.cpp | |
parent | 664e37abfe5c796c1279b8295fb030f126b0a7d8 (diff) | |
download | tqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.tar.gz tqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.zip |
Initial automated TQt conversion
Diffstat (limited to 'src/LexCPP.cpp')
-rwxr-xr-x | src/LexCPP.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexCPP.cpp b/src/LexCPP.cpp index 1db0c7c..29dc6b9 100755 --- a/src/LexCPP.cpp +++ b/src/LexCPP.cpp @@ -21,7 +21,7 @@ #include "SciLexer.h" #define SET_LOWER "abcdefghijklmnopqrstuvwxyz" -#define SET_UPPER "ABCDEFGHIJKLMNOPQRSTUVWXYZ" +#define SET_UPPER "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" #define SET_DIGITS "0123456789" class SetOfCharacters { @@ -319,7 +319,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo sc.SetState(SCE_C_IDENTIFIER); } } else if (sc.Match('/', '*')) { - if (sc.Match("/**") || sc.Match("/*!")) { // Support of Qt/Doxygen doc. style + if (sc.Match("/**") || sc.Match("/*!")) { // Support of TQt/Doxygen doc. style sc.SetState(SCE_C_COMMENTDOC); } else { sc.SetState(SCE_C_COMMENT); @@ -327,7 +327,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo sc.Forward(); // Eat the * so it isn't used for the end of the comment } else if (sc.Match('/', '/')) { if ((sc.Match("///") && !sc.Match("////")) || sc.Match("//!")) - // Support of Qt/Doxygen doc. style + // Support of TQt/Doxygen doc. style sc.SetState(SCE_C_COMMENTLINEDOC); else sc.SetState(SCE_C_COMMENTLINE); |