Internal viewer text display width limitation

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
OUrm7Vo2
Junior Member
Junior Member
Posts: 80
Joined: 2003-04-17, 18:50 UTC

Internal viewer text display width limitation

Post by *OUrm7Vo2 »

Limitation appears to be 512 characters.

Why is this so pray tell?

I deal with very long lines routinely...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Because Lister only loads a small part of the file into memory (64k), so the entire visible area has to fit in the buffer.

You can use a Lister plugin for text like synplus or so which loads the entire file into memory.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I agree with topic starter that it would be nice to have such option for built-in Lister.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can set
TextWidth=1024
in wincmd.ini section [Lister], that's the absolute maximum supported. But then you can no longer wrap to 80 characters.
Author of Total Commander
https://www.ghisler.com
Post Reply