{\r
NaGetTaskSet taskSet = (NaGetTaskSet) sender;\r
\r
+ bool isCursorPositionLast = logBox.SelectionStart >= logBox.TextLength-1;\r
+ \r
if (e.TaskProgressPercent >= 0) {\r
progressBar.Value = (int) e.TaskProgressPercent;\r
progressBar.Style = ProgressBarStyle.Continuous;\r
break;\r
}\r
\r
+ if (isCursorPositionLast && logBox.TextLength > 0) {\r
+ logBox.Select(logBox.TextLength-1, 0);\r
+ }\r
+ \r
if (taskSet.Done) {\r
if ((ActionOnDone & ActionOnDoneFlags.FlashWindow) != 0) {\r
NativeMethods.Form_FlashWindow(this,\r