aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-05-05 23:37:40 +0000
committernyamatongwe <unknown>2010-05-05 23:37:40 +0000
commit4169e700afbb82d24d2cf3d06299cb8b76c0b8c6 (patch)
tree629b96f05545c3876700d249d9cfe93b59e5344d /src/CellBuffer.cxx
parent183367a5cb3f02797f1cab1c85961afe1f5fda2a (diff)
downloadscintilla-mirror-4169e700afbb82d24d2cf3d06299cb8b76c0b8c6.tar.gz
Made some methods const.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 4d0f829c9..064ef1a2a 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -341,7 +341,7 @@ char CellBuffer::CharAt(int position) const {
return substance.ValueAt(position);
}
-void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) {
+void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) const {
if (lengthRetrieve < 0)
return;
if (position < 0)
@@ -357,7 +357,7 @@ void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) {
}
}
-char CellBuffer::StyleAt(int position) {
+char CellBuffer::StyleAt(int position) const {
return style.ValueAt(position);
}