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
Splitting code across lines?
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
http://scintilla.sourceforge.net/SciTEF ... lScrollBar
Mat
Well, one could always use a pre-parser...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
MrMat wrote: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
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!
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
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 

Mat
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
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!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.
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!
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Rook: See http://www.purebasic.fr/english/viewtop ... 575#262575 for a possible solution to the problem for you...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact: