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!
Endless scrollbar inside Lister?
Moderators: Hacker, petermad, Stefan2, white
Endless scrollbar inside Lister?
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Endless scrollbar inside Lister?
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
https://www.ghisler.com
Re: Endless scrollbar inside Lister?
Why did you decide that? After all, when viewing, the main thing is to see/to catch by eyes the needed text.but that would lead to a constantly changing horizontal scrollbar, which would be even more annoying.
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
Re: Endless scrollbar inside Lister?
Enable cursor mode (F6) and press the End key.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???
Re: Endless scrollbar inside Lister?
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.Enable cursor mode (F6) and press the End key.
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
Re: Endless scrollbar inside Lister?
2AntonyD
You sound triggered. I merely answered your question.
You sound triggered. I merely answered your question.
Re: Endless scrollbar inside Lister?
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! 👎