From 9957218fc9b80cff23aa14eff5a2d788402f2ada Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 24 Jun 2009 10:16:12 +0000 Subject: Some extra const constraints added while working on discontiguous selection. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') 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(); -- cgit v1.2.3