aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
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/CellBuffer.cxx
parentbcceb7d8295269d7b468d41f70413ea108abb192 (diff)
downloadscintilla-mirror-8561402ec8aa9e46c9f3973410244d5391b275ed.tar.gz
Implemented GetCharacterPointer feature.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 85bf43552..0e9ae6950 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -587,6 +587,10 @@ char CellBuffer::StyleAt(int position) {
return style.ValueAt(position);
}
+const char *CellBuffer::BufferPointer() {
+ return substance.BufferPointer();
+}
+
// The char* returned is to an allocation owned by the undo history
const char *CellBuffer::InsertString(int position, const char *s, int insertLength, bool &startSequence) {
char *data = 0;