Lister for text/hex formats

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Lister for text/hex formats

Post by *MVV »

It is a big problem on Android to show binary contents for files, especially for large ones, so it would be very nice to have a HEX viewer in TC allowing to see files of arbitrary size (also search for hex sequences).

Also often I need a text viewer, but currently I have to open text files in TC editor, scroll them down, send some curses to the popped on-screen keyboard, remove accidentally typed characters and view file in a half of screen because of the keyboard... So it would be great to have read-only viewer for text files by default, and then to switch to edit mode (or to an editor) on demand (there is a Color Notes app that opens notes as read-only first, and then switches to edit mode on tap, and it is a very nice feature).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister for text/hex formats

Post by *ghisler(Author) »

Currently it's not planned. There are already hex viewers/editors for Android, which you could put on a button in TC.

The way Lister works isn't feasible on Android because it's based on a fixed length (in characters, not pixels) line. But 80 character lines are usually too long for Android devices. Making word breaks based on pixel width is very slow - you can see it by the load times in the editor for larger files...
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Lister for text/hex formats

Post by *DrShark »

ghisler(Author) wrote: 2019-01-17, 15:44 UTCThe way Lister works isn't feasible on Android because it's based on a fixed length (in characters, not pixels) line. But 80 character lines are usually too long for Android devices.
What about different default line length (maybe 30 characters instead of 80)?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister for text/hex formats

Post by *ghisler(Author) »

This would rip apart many documents like source code.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Lister for text/hex formats

Post by *DrShark »

Maybe for certain types of documents it won't look nice, but if it will make it possible to see text files of larger size than currently allowed by Editor, I think implementing Lister worth it.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply