aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-06-24 10:16:12 +0000
committernyamatongwe <devnull@localhost>2009-06-24 10:16:12 +0000
commit961f79014a8a2c8e809664e9e6444aa2042595e0 (patch)
tree4ded4bc6c0cf1dbe2f413c1cc82d72ea4bf3488f /src/Editor.cxx
parent1f43bf9fe1b4df2daf93d1776a88d41929946864 (diff)
downloadscintilla-mirror-961f79014a8a2c8e809664e9e6444aa2042595e0.tar.gz
Some extra const constraints added while working on discontiguous selection.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f7f5cb2bb..4902c15d1 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -788,7 +788,7 @@ bool Editor::SelectionContainsProtected() {
/**
* Asks document to find a good position and then moves out of any invisible positions.
*/
-int Editor::MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd) {
+int Editor::MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd) const {
pos = pdoc->MovePositionOutsideChar(pos, moveDir, checkLineEnd);
if (vs.ProtectionActive()) {
int mask = pdoc->stylingBitsMask;