
I have sent another test file.
Icfu
Moderators: Hacker, petermad, Stefan2, white
It's available in dialog too - see button "..." on the right of text extensions list.For other readers:
Buffer is "TextDetectSize" INI-setting.
Yes, it's by design.but, scrolling is very sluggish now. The scrollbar permanently changes its size, that doesn't look too good.
Ah, that wasn't too obvious.It's available in dialog too - see button "..." on the right of text extensions list.
Well, I see a huge difference. Like I said, scrolling is sluggish.Why resource comsuming? No, it's not.
Why do you need to load the file in memory to see how big is it? Just size it according to filesize, that's what lister also does I think and also the former Universal Viewer had no problems with that.But RichEdit loads *whole* file in memory, so it knows total number of lines, and can set bar size to number of *lines* in view.
This is exactly what I expect. I don't want the bar size related to "lines" in current view, I don't see any advantages here, only disadvantages.Otherwise you'll get bar size not corr-g to file contents.
Just do it like in former version. No problems there.Other suggestion?
I *am* sizing it according to filesize. And to current view size (to number of bytes in view, not lines).Why do you need to load the file in memory to see how big is it? Just size it according to filesize, that's what lister also does I think and also the former Universal Viewer had no problems with that.
So, maybe this is what makes your viewer sluggish because you have to permanently calculate how much bytes are in view.And to current view size (to number of bytes in view, not lines).
I suggest the following:But I don't know total num of lines, so in this case bar will be not actual.
Ok, nice workaround, but not helpful for everyday use (AHK script for autopressing 8 maybe...). In this case I would always prefer to load TC lister instead.PS You can "revert" to prev version by pressing 8.
I will stay tuned.Yes, it's sluggish a little. I'll try to fix it.
Ah, Ok..I haven't noticed that you have dropped RichEdit in text mode already...
No, calculating is simple subtraction:So, maybe this is what makes your viewer sluggish because you have to permanently calculate how much bytes are in view.
Another misuner-ing.. TC Lister doen nothing.I suggest the following:
Do it like TC lister does, at least optionally!
Ok, I can make an option. "Do not calculate scrollbar size".Do not calculate anything, just display a fixed size scrollbar, independent from size