diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/DocumentAccessor.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h index dc591d13e..5a9e40d42 100644 --- a/src/DocumentAccessor.h +++ b/src/DocumentAccessor.h @@ -27,6 +27,7 @@ protected:  	char chWhile;  	unsigned int startSeg;  	int startPosStyling; +	int mask;  	bool InternalIsLeadByte(char ch);  	void Fill(int position); @@ -35,7 +36,8 @@ public:  	DocumentAccessor(Document *pdoc_, PropSet &props_, WindowID id_=0) :   		Accessor(), pdoc(pdoc_), props(props_), id(id_),  		lenDoc(-1), validLen(0), chFlags(0), chWhile(0),  -		startSeg(0), startPosStyling(0) { +		startSeg(0), startPosStyling(0), +		mask(31) { // Initialize the mask to the same as the default.  	}  	~DocumentAccessor();  	bool Match(int pos, const char *s); | 
