Page 1 of 1

debug window scrolling problem every 10th line?

Posted: 05 March 2006, 15:53 PM
by stevech
anyone else see a debug window scrolling problem every 10th line?

A program that does a console.writeline(cstr(n)) once a second, on my PC, demonstrates the problem. Every ten lines the window scroll bar moves to the top of the window instead of being set to the bottom. The next line causes the scroll bar to return to the bottom. It's as if the "add line" in the IDE forgets to set the index on that text widget to the end of the list every ten lines.

My Environment:
Windows XP SP1

--- EDIT additional:
The problem seems to arise only after the scroll buffer limit is exceeded. ThaT is, the problem doesn't happen for the first 100 (or whatever the option is set to) lines are displayed.

Posted: 05 March 2006, 19:29 PM
by mikep
I have not been able to duplicate the problem. The scroll bar "twitches" sometimes but that is due to the way the window scrolls and the relative position of the last line.

In any case this is a problem with the base IDE code (SciTe) and nothing that Don added. We would need to find a reproducible scenario and submit it to the SciTe team. It could also be a Windows XP problem.

However this doesn't sound like a very high priority problem and would probably never be fixed.

Posted: 05 March 2006, 20:02 PM
by stevech
To reproduce it, you have to let these many lines display
debug.line.limit=100 (or whatever you have in the Options User file).

I agree it isn't a huge problem.

But here is a significant issue with it, as follows:
Every 10 lines, the scroll bar jumps to the top and the contents of the window scroll to the top. Now you cannot see the bottom and most recent output in the debug window.

When the next line is displayed, the scroll returns to the bottom, and remains correct for 9 more lines.

Again, I agree it isn't a huge problem.

Posted: 05 March 2006, 20:15 PM
by mikep
stevech wrote:To reproduce it, you have to let these many lines display
debug.line.limit=100 (or whatever you have in the Options User file).
I was able to reproduce it now with this hint. Previously my options file was set to 1024 so I never saw a problem. So you could change the number of lines to a very high number as a possible workaround.

There have been a number of scolling problems fixed in the SciTe base over the last few years so it is possible that this problem could be reported by Don and fixed. Don would then need to migrate to the latest code level with the fix.

Posted: 03 May 2006, 16:49 PM
by dkinzer
We believe that this problem has been solved in v1.1.0 of the IDE.