aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
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.h
parent1f43bf9fe1b4df2daf93d1776a88d41929946864 (diff)
downloadscintilla-mirror-961f79014a8a2c8e809664e9e6444aa2042595e0.tar.gz
Some extra const constraints added while working on discontiguous selection.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index e9372be00..a318e6282 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -284,7 +284,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void SetEmptySelection(int currentPos_);
bool RangeContainsProtected(int start, int end) const;
bool SelectionContainsProtected();
- int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true);
+ int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true) const;
int MovePositionTo(int newPos, selTypes sel=noSel, bool ensureVisible=true);
int MovePositionSoVisible(int pos, int moveDir);
void SetLastXChosen();