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
StartY = 0;
var NewPage = this.CurPage;
var bBreak = false;
while (true)
{
this.Cursor_MoveAt(StartX, StartY, AddToSelect);
......@@ -9827,11 +9828,13 @@ CDocument.prototype.private_MoveCursorDown = function(StartX, StartY, AddToSelec
}
else
{
Result = true;
bBreak = true;
break;
}
}
if (false === Result)
if (false === Result || true === bBreak)
break;
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