Page 3 of 3
Posted: Mon Oct 06, 2008 1:25 am
by pdwyer
Actually I'm of the opinion now that we have an IDE bug here.
If a line is longer than a certain length then the horizontal scroll bar at the bottom doesn't shrink after a certain point and you can use it to drag the screen to the end. you have use arrow keys or go to the next line and hit "back" .
Does anyone else get this? If it's not just me I'll post in the bug section
Posted: Mon Oct 06, 2008 1:34 am
by MrMat
That's how Scintilla works. For speed reasons it doesn't continually check line lengths to adjust the horizontal scroll bar. See here:
http://scintilla.sourceforge.net/SciTEF ... lScrollBar
Posted: Mon Oct 06, 2008 7:55 am
by blueznl
Well, one could always use a pre-parser...
Posted: Mon Oct 06, 2008 3:06 pm
by pdwyer
Doesn't check at all. you'd think that when you scroll the cursor past what is on screen it would be a good hint that the scroll bar length is not correct
Bug!
Posted: Mon Oct 06, 2008 3:40 pm
by MrMat
It is standard behaviour and has been discussed on the Scintilla mailing list a few times. I believe it was the pnotepad author who suggested a background scan every now and again to determine the maximum line length and i think he implemented it in his editor. The check has to scan the entire document and take into account the possibility of varing font sizes so it is not something suitable to a check when scrolling - unless you don't mind the occasional delay! I'd consider this a feature request rather than a bug

Posted: Mon Oct 06, 2008 9:13 pm
by Rook Zimbabwe

Pity, as the IDE seems not to scroll properly to the right after a certain length. you have to use the arrow rather than drag.
I hope this break idea gets implemented... I have several LONG query$ that I send to a DB and being able to see the entire $ on my screen would enable debug much faster!
BUT
It may be that the fact PB is a single pass compiler is WHY this cannot be so!
And I am quite happy with the compiler!
Posted: Mon Oct 06, 2008 10:56 pm
by DoubleDutch
Rook: See
http://www.purebasic.fr/english/viewtop ... 575#262575 for a possible solution to the problem for you...
Posted: Tue Oct 07, 2008 7:40 am
by Rook Zimbabwe
Major COOL!!! Thanks DD... I had no idea! I have been waiting for a IDE and VD update. I got the VD update, now an IDE update...
I am soooooooooooooooooooooooooooooooooooooooooo excited!