diff options
| author | nyamatongwe <unknown> | 2004-06-29 13:02:29 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2004-06-29 13:02:29 +0000 | 
| commit | 7d3dd47bf7cc4897c13fe6e8ba438610ed6ff5d8 (patch) | |
| tree | 057a329f2305d101617bc66efad8604fe804de8e /src/LexCPP.cxx | |
| parent | 70d287d9b84a174672417fa411b1662fc6564b8e (diff) | |
| download | scintilla-mirror-7d3dd47bf7cc4897c13fe6e8ba438610ed6ff5d8.tar.gz | |
Patch from Hans Eckardt to not consider separator comment
lines of all slashes as normal comments instead of doc comments.
////////////////////////////////////////////
Diffstat (limited to 'src/LexCPP.cxx')
| -rw-r--r-- | src/LexCPP.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 9c8ea416a..fedb978be 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -235,7 +235,8 @@ 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("//!"))	// Support of Qt/Doxygen doc. style +				if ((sc.Match("///") && !sc.Match("////")) || sc.Match("//!")) +					// Support of Qt/Doxygen doc. style  					sc.SetState(SCE_C_COMMENTLINEDOC);  				else  					sc.SetState(SCE_C_COMMENTLINE); | 
