diff options
| author | nyamatongwe <devnull@localhost> | 2008-04-27 07:49:54 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2008-04-27 07:49:54 +0000 | 
| commit | 05afdfab73062917988db56f56c09695bef7b0cf (patch) | |
| tree | f417bd12ca0629aea1894848303450fd0d539757 /src/SplitVector.h | |
| parent | 3be48e12ea69c4443d7296ad6e00bb77bf9d6f04 (diff) | |
| download | scintilla-mirror-05afdfab73062917988db56f56c09695bef7b0cf.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 | 
