Home General
Options

Scroll issue when adding to DumpContainers and using Util.ReadLine.

This has been a very,very minor irritation for a long time, but I never have been able to replicate or demo it until now.

When I run this script

var list = Enumerable.Range(1,100).ToList();
Util.AutoScrollResults = true;

var dc = new DumpContainer(list).Dump();

for(int i =0 ; i < 10; i++)
{
    var newValue = Util.ReadLine<int>("Enter Value" , list.Count()+1);
    list.Add(newValue);
    dc.Refresh();
}

it dumps 100 lines and scrolls to show the last entry and correctly realises that Util.Readline takes up the last two lines of the screen. But then when I press return several more times, the last entry is not shown on screen and I need to keep scrolling down to read the details of the last line.

This happens with LP5, LP8 and LP9 , but works correctly with LP4 (4.51.03)

LP9 is not always consistent in how it behaves, sometimes it is one behind and sometimes it is three behind.

Sign In or Register to comment.