From 059b5ea7391a9879a96921b256a185165e8ab2db Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Feb 2002 02:15:56 +0000 Subject: Changes to tighten up styling beyond the bounds of the document. May not be permanent. --- src/DocumentAccessor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/DocumentAccessor.h') diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h index 48742a9b4..5b68dd15c 100644 --- a/src/DocumentAccessor.h +++ b/src/DocumentAccessor.h @@ -26,6 +26,7 @@ protected: char chFlags; char chWhile; unsigned int startSeg; + int startPosStyling; bool InternalIsLeadByte(char ch); void Fill(int position); @@ -33,7 +34,8 @@ protected: public: DocumentAccessor(Document *pdoc_, PropSet &props_, WindowID id_=0) : Accessor(), pdoc(pdoc_), props(props_), id(id_), - lenDoc(-1), validLen(0), chFlags(0), chWhile(0) { + lenDoc(-1), validLen(0), chFlags(0), chWhile(0), + startSeg(0), startPosStyling(0) { } ~DocumentAccessor(); char StyleAt(int position); -- cgit v1.2.3