Page 1 of 1

Lister for text/hex formats

Posted: 2019-01-17, 07:49 UTC
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).

Re: Lister for text/hex formats

Posted: 2019-01-17, 15:44 UTC
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...

Re: Lister for text/hex formats

Posted: 2019-03-20, 18:18 UTC
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)?

Re: Lister for text/hex formats

Posted: 2019-03-21, 09:03 UTC
by ghisler(Author)
This would rip apart many documents like source code.

Re: Lister for text/hex formats

Posted: 2019-03-21, 10:30 UTC
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.