diff options
author | nyamatongwe <unknown> | 2003-07-23 13:00:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-07-23 13:00:17 +0000 |
commit | b5fc60e23f79dd4f394996ad4a328c5387e4756e (patch) | |
tree | 74b29cfb2c603d7ee8d2acdf2879139c6e9b8f00 /src | |
parent | d6d2537de97b0dcd52fc711a82cbceb936ee4c2e (diff) | |
download | scintilla-mirror-b5fc60e23f79dd4f394996ad4a328c5387e4756e.tar.gz |
Patch from Shane to allow multiple pseudo-classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexCSS.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LexCSS.cxx b/src/LexCSS.cxx index b89f7ea8b..11daa1423 100644 --- a/src/LexCSS.cxx +++ b/src/LexCSS.cxx @@ -108,7 +108,8 @@ static void ColouriseCssDoc(unsigned int startPos, int length, int initStyle, Wo sc.SetState(SCE_CSS_DEFAULT); break; case ':': - if (lastState == SCE_CSS_TAG || lastState == SCE_CSS_PSEUDOCLASS || lastState == SCE_CSS_DEFAULT || lastState == SCE_CSS_CLASS || lastState == SCE_CSS_ID) + if (lastState == SCE_CSS_TAG || lastState == SCE_CSS_PSEUDOCLASS || lastState == SCE_CSS_DEFAULT || + lastState == SCE_CSS_CLASS || lastState == SCE_CSS_ID || lastState == SCE_CSS_UNKNOWN_PSEUDOCLASS) sc.SetState(SCE_CSS_PSEUDOCLASS); else if (lastState == SCE_CSS_IDENTIFIER || lastState == SCE_CSS_UNKNOWN_IDENTIFIER) sc.SetState(SCE_CSS_VALUE); |