aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-07-05 01:19:12 +0000
committernyamatongwe <devnull@localhost>2009-07-05 01:19:12 +0000
commit4d7826e0c459803b8ee9d5947c70d9bab048fe19 (patch)
treefe68c462c11bb18ff9e317bcdcac6d2f9dd51f52 /src
parent5363f118a80b2cc51a743e1b23b175bcc1679113 (diff)
downloadscintilla-mirror-4d7826e0c459803b8ee9d5947c70d9bab048fe19.tar.gz
Fixed bug where cursor right key and end of line for CRLF file would move
between CR and LF.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
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;