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.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') 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; -- cgit v1.2.3