aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-04-27 07:49:54 +0000
committernyamatongwe <devnull@localhost>2008-04-27 07:49:54 +0000
commit05afdfab73062917988db56f56c09695bef7b0cf (patch)
treef417bd12ca0629aea1894848303450fd0d539757 /src/CellBuffer.cxx
parent3be48e12ea69c4443d7296ad6e00bb77bf9d6f04 (diff)
downloadscintilla-mirror-05afdfab73062917988db56f56c09695bef7b0cf.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;