Commit a86ec2a8 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #32802

parent 6678d74b
...@@ -9800,6 +9800,7 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec ...@@ -9800,6 +9800,7 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec
StartY = 0; StartY = 0;
var NewPage = this.CurPage; var NewPage = this.CurPage;
var bBreak = false;
while (true) while (true)
{ {
this.Cursor_MoveAt(StartX, StartY, AddToSelect); this.Cursor_MoveAt(StartX, StartY, AddToSelect);
...@@ -9827,11 +9828,13 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec ...@@ -9827,11 +9828,13 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec
} }
else else
{ {
Result = true;
bBreak = true;
break; break;
} }
} }
if (false === Result) if (false === Result || true === bBreak)
break; break;
CurY = StartY; CurY = StartY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment