From 8561402ec8aa9e46c9f3973410244d5391b275ed Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 27 Apr 2008 07:49:54 +0000 Subject: Implemented GetCharacterPointer feature. --- src/CellBuffer.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/CellBuffer.cxx') 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; -- cgit v1.2.3