diff options
| author | nyamatongwe <devnull@localhost> | 2005-03-01 09:47:48 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2005-03-01 09:47:48 +0000 |
| commit | 10def3f7edb3ee8d650abac7137d588be1fdeb31 (patch) | |
| tree | d9e4a9fdbe76d8ef73ebb691a0aa9d6545782a65 | |
| parent | 7ae759fe5a837f1dec1883b6df02b7248d476e92 (diff) | |
| download | scintilla-mirror-10def3f7edb3ee8d650abac7137d588be1fdeb31.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) { |
