diff options
author | nyamatongwe <unknown> | 2005-03-01 09:47:48 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-03-01 09:47:48 +0000 |
commit | 92ea597a1f70d1c34d66a77ff14ad1b881700860 (patch) | |
tree | d9e4a9fdbe76d8ef73ebb691a0aa9d6545782a65 | |
parent | 685d4b0320ed00a9c95195260616bfbf211b3e96 (diff) | |
download | scintilla-mirror-92ea597a1f70d1c34d66a77ff14ad1b881700860.tar.gz |
Patch from Jan Martin Pettersen to ensure lexers only see the bits in each
style byte they are interested in and not of any other indicators added
by the container.
-rw-r--r-- | src/StyleContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StyleContext.h b/src/StyleContext.h index aedebbc01..d34c89422 100644 --- a/src/StyleContext.h +++ b/src/StyleContext.h @@ -45,7 +45,7 @@ public: currentPos(startPos), atLineStart(true), atLineEnd(false), - state(initStyle), + state(initStyle & chMask), // Mask off all bits which aren't in the chMask. chPrev(0), ch(0), chNext(0) { |