aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DocumentAccessor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-24 01:07:27 +0000
committernyamatongwe <unknown>2001-02-24 01:07:27 +0000
commit138a83285e148f933d9d8105d0b6a3f8d5c434bc (patch)
treef98810687b579e1a3b3db21227ec71ffc1b906d4 /src/DocumentAccessor.h
parentd21110c144c7ef998b76d3fde4954a811531c319 (diff)
downloadscintilla-mirror-138a83285e148f933d9d8105d0b6a3f8d5c434bc.tar.gz
Updated documentation comments from Philippe.
Diffstat (limited to 'src/DocumentAccessor.h')
-rw-r--r--src/DocumentAccessor.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h
index ab0be9aba..abbb55f18 100644
--- a/src/DocumentAccessor.h
+++ b/src/DocumentAccessor.h
@@ -1,13 +1,20 @@
-// DocumentAccessor.h - implementation of BufferAccess and StylingAccess on a Scintilla rapid easy access to contents of a Scintilla
+// Scintilla source code edit control
+/** @file DocumentAccessor.h
+ ** Implementation of BufferAccess and StylingAccess on a Scintilla
+ ** rapid easy access to contents of a Scintilla.
+ **/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
class Document;
+/**
+ */
class DocumentAccessor : public Accessor {
// Private so DocumentAccessor objects can not be copied
DocumentAccessor(const DocumentAccessor &source) : Accessor(), props(source.props) {}
DocumentAccessor &operator=(const DocumentAccessor &) { return *this; }
+
protected:
Document *pdoc;
PropSet &props;
@@ -21,6 +28,7 @@ protected:
bool InternalIsLeadByte(char ch);
void Fill(int position);
+
public:
DocumentAccessor(Document *pdoc_, PropSet &props_) :
Accessor(), pdoc(pdoc_), props(props_),