diff options
author | nyamatongwe <devnull@localhost> | 2009-06-24 10:16:12 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-06-24 10:16:12 +0000 |
commit | 961f79014a8a2c8e809664e9e6444aa2042595e0 (patch) | |
tree | 4ded4bc6c0cf1dbe2f413c1cc82d72ea4bf3488f /src/CellBuffer.cxx | |
parent | 1f43bf9fe1b4df2daf93d1776a88d41929946864 (diff) | |
download | scintilla-mirror-961f79014a8a2c8e809664e9e6444aa2042595e0.tar.gz |
Some extra const constraints added while working on discontiguous selection.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
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); } |