- When first displaying the file, it looks like the scrollbar has "holes" in it. This is a screenshot I made as an example (using white as the scrollbar foreground and light grey as the scrollbar background):
- I have an input loop in my script that waits for a keypress and scrolls the Frame when the user presses the up or down arrow, PageUp, PageDown, Home, or End. The scrollbar refreshes when I scroll up & down one line (using the Frame's scroll() method), but after using the Frame's scrollTo() method (which I'm using for PageUp, PageDown, Home, and End), the scrollbar doesn't refresh until cycle() is called a 2nd time (which happens when I press PageUp, PageDown, Home, or End in my script).
For the 2nd issue, I'm not sure if it's something I'm doing wrong in my script or if it's an issue in the scrollbar/frame class.
I was using LIGHTGRAY. I tried BG_LIGHTGRAY just now, and I think it actually looks/behaves better with LIGHTGRAY.
The ANSI content is being loaded before the scrollbar & frame are opened for the first time. Should it be loaded after?
Ah, that seems to help. So it seems that the documentation (comments) in scrollbar.js are wrong -
if(f.cycle()) {
s.cycle();
console.gotoxy(console.screen_columns, console.screen_rows);
}
That seems to suggest that if the frame cycle succeeds, then cycle the scrollbar. But as you suggested, it seems to work better when the scrollbar's cycle() is called before the frame's cycle().
Would that break existing scripts that are currently managing them separately?
Thanks. Some sort of newline problem that only shows up ... sometimes, forã > some people, apparently. I'll sort it out eventually. :|ããHappens for me via the default synchronet web interface... here's an example.ããhttp://www.roughneckbbs.com/msgs/msg.ssjs?msg_sub=dove-syncjs&message=110ããYou may have to login, and I'll be offline from sunday until late tuesday forãmy ãmove.ã-- ãMichael J. Ryanãtracker1(at)gmail.comã+o Roughneck BBSãã---ã þ Synchronet þ RoughneckBBS - http://www.roughneckbbs.com/ã
Just an FYI, your replies are coming in here all mangled up. I think part of what you posted is in the above quote, but some of it is NIghtfox's comments.
Regards,
Nick
Yep, still mangled. kwlcme. :D
Grr, what the fuck. I must sort this out.ãããRelax, angry guy. You might have just fixed it.ããOr maybe not. We'll see.ãã:|ã---ãechicken ãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
Hello echicken,ãã> On 09 Dec 15 22:54, echicken wrote to echicken:ãã> That's how it appears here. Looks a helluva lot better!ãã> Regards,ã> Nickãã> --- GoldED+/LNX 1.1.5-b20151129ã> * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (723:1/701)ã> â– Synchronet â– thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)ãããYay! Thanks for the reply. Glad that's sorted out.ãã---ãechicken ãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
Not mangled here... maybe because I've to the newest, most awesomeestã> word_wrap() implementation?ããI had forgotten to run messages through lfexpand() before saving them. :|ãã---ãechicken ãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 52 |
Nodes: | 8 (0 / 8) |
Uptime: | 54:18:17 |
Calls: | 715 |
Files: | 17,895 |
D/L today: |
2 files (10,523K bytes) |
Messages: | 65,411 |