diff options
author | nyamatongwe <devnull@localhost> | 2009-07-05 01:19:12 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-07-05 01:19:12 +0000 |
commit | 4d7826e0c459803b8ee9d5947c70d9bab048fe19 (patch) | |
tree | fe68c462c11bb18ff9e317bcdcac6d2f9dd51f52 /src | |
parent | 5363f118a80b2cc51a743e1b23b175bcc1679113 (diff) | |
download | scintilla-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.cxx | 2 |
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; |