Endless scrollbar inside Lister?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
AntonyD
Power Member
Power Member
Posts: 1256
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Endless scrollbar inside Lister?

Post by *AntonyD »

If you open any text file, where there will definitely be at least one line with a large number of characters in it (more than 200),
then when you open it in Lister, we expect to see horizontal scrolling at the bottom of the window. And this is good. BUT! question!
And why is this scrolling made not for this largest number of characters in "at least one line", but for an unacceptably huge number
of characters, which can not even be treated as the sum of all chars from the entire file...
This scrolling should reflect the actual maximum content length!
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Endless scrollbar inside Lister?

Post by *ghisler(Author) »

That's just how Lister works - it doesn't load the entire file to determine the longest line, it only loads a small part and finds the line breaks dynamically from the current position. It could readjust the scroll bar width on the fly when it encounters longer lines, but that would lead to a constantly changing horizontal scrollbar, which would be even more annoying.

Moderator message

Moved to English forum
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1256
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Endless scrollbar inside Lister?

Post by *AntonyD »

but that would lead to a constantly changing horizontal scrollbar, which would be even more annoying.
Why did you decide that? After all, when viewing, the main thing is to see/to catch by eyes the needed text.
And sometimes this text is located exactly at the end of a long text string . And HOW can you go to the end of this string
if you can't instantly scroll to this end???
You have to slowly and carefully drag the thumb in an attempt to find - where is the real end of this long line?
And as a result, when you realize that it is impossible to do this in Lister, you open the file in the editor to just press
the END button on such a line. Do you consider this approach to be more advanced and better?
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 4677
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Endless scrollbar inside Lister?

Post by *white »

AntonyD wrote: 2023-11-23, 07:11 UTC And HOW can you go to the end of this string if you can't instantly scroll to this end???
Enable cursor mode (F6) and press the End key.
User avatar
AntonyD
Power Member
Power Member
Posts: 1256
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Endless scrollbar inside Lister?

Post by *AntonyD »

Enable cursor mode (F6) and press the End key.
There is a proposal “not far” in the next topic to switch to the F4-editor from Lister(viewtopic.php?p=445652#p445652) - because it will be more convenient for the user.
I’ll probably respond to this answer in a similar vein - viewing and editing = are not the same thing - and it will be much simpler and more correct to show scrolling in proportion to the length of the displayed text, rather than forcing the user to perform actions that they will also have to remember to cancel - because using Lister in constant cursor mode is a completely different experience and following by other inconveniences.
Last edited by AntonyD on 2023-11-24, 09:44 UTC, edited 2 times in total.
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 4677
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Endless scrollbar inside Lister?

Post by *white »

2AntonyD
You sound triggered. I merely answered your question.
Fla$her
Power Member
Power Member
Posts: 2390
Joined: 2020-01-18, 04:03 UTC

Re: Endless scrollbar inside Lister?

Post by *Fla$her »

AntonyD wrote: 2023-11-23, 07:11 UTCWhy did you decide that?
Because of the above implementation — dynamic loading of text in blocks.
Otherwise, TC would have to parse the entire file to find the longest line, which would significantly slow down the opening of large files.
It's easier to set the desired length limit for line wrapping (W).
Overquoting is evil! 👎
Post Reply