aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/SplitVector.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-04-27 07:49:54 +0000
committernyamatongwe <unknown>2008-04-27 07:49:54 +0000
commit8561402ec8aa9e46c9f3973410244d5391b275ed (patch)
treef417bd12ca0629aea1894848303450fd0d539757 /src/SplitVector.h
parentbcceb7d8295269d7b468d41f70413ea108abb192 (diff)
downloadscintilla-mirror-8561402ec8aa9e46c9f3973410244d5391b275ed.tar.gz
Implemented GetCharacterPointer feature.
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r--src/SplitVector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SplitVector.h b/src/SplitVector.h
index 9d62aef72..76f9a8f36 100644
--- a/src/SplitVector.h
+++ b/src/SplitVector.h
@@ -238,6 +238,12 @@ public:
DeleteRange(0, lengthBody);
}
+ T* BufferPointer() {
+ RoomFor(1);
+ GapTo(lengthBody);
+ body[lengthBody] = 0;
+ return body;
+ }
};
#endif