diff options
author | nyamatongwe <unknown> | 2009-07-05 01:19:12 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-05 01:19:12 +0000 |
commit | f53369ae920abe49f59c1aa5b0a878cf444d39e1 (patch) | |
tree | fe68c462c11bb18ff9e317bcdcac6d2f9dd51f52 /src | |
parent | 052777c10f87a863fae294c0ae28f98b4a3dcded (diff) | |
download | scintilla-mirror-f53369ae920abe49f59c1aa5b0a878cf444d39e1.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; |