diff options
author | nyamatongwe <unknown> | 2008-04-27 07:49:54 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-04-27 07:49:54 +0000 |
commit | 8561402ec8aa9e46c9f3973410244d5391b275ed (patch) | |
tree | f417bd12ca0629aea1894848303450fd0d539757 /src/SplitVector.h | |
parent | bcceb7d8295269d7b468d41f70413ea108abb192 (diff) | |
download | scintilla-mirror-8561402ec8aa9e46c9f3973410244d5391b275ed.tar.gz |
Implemented GetCharacterPointer feature.
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r-- | src/SplitVector.h | 6 |
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 |