From f53369ae920abe49f59c1aa5b0a878cf444d39e1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 5 Jul 2009 01:19:12 +0000 Subject: Fixed bug where cursor right key and end of line for CRLF file would move between CR and LF. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index a3a70dba8..34e9d4939 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -882,7 +882,7 @@ int Editor::MovePositionTo(int newPos, Selection::selTypes selt, bool ensureVisi SelectionPosition Editor::MovePositionSoVisible(SelectionPosition pos, int moveDir) { pos = ClampPositionIntoDocument(pos); - //pos = MovePositionOutsideChar(pos, moveDir); + pos = MovePositionOutsideChar(pos, moveDir); int lineDoc = pdoc->LineFromPosition(pos.Position()); if (cs.GetVisible(lineDoc)) { return pos; -- cgit v1.2.3