aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-06-24 10:16:12 +0000
committernyamatongwe <unknown>2009-06-24 10:16:12 +0000
commit9957218fc9b80cff23aa14eff5a2d788402f2ada (patch)
tree4ded4bc6c0cf1dbe2f413c1cc82d72ea4bf3488f /src/CellBuffer.cxx
parenta553427cc932a5742e54addd4c228a078d68f8d2 (diff)
downloadscintilla-mirror-9957218fc9b80cff23aa14eff5a2d788402f2ada.tar.gz
Some extra const constraints added while working on discontiguous selection.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 7134d3188..5385cccde 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -62,7 +62,7 @@ void LineVector::RemoveLine(int line) {
}
}
-int LineVector::LineFromPosition(int pos) {
+int LineVector::LineFromPosition(int pos) const {
return starts.PartitionFromPosition(pos);
}