Raw View: make that 10 MB configurable
Raw View: make that 10 MB configurable
I would very much appreciate to be able to configure the hardcoded 10 MB that are read from a file in Raw View. I work a lot in slow networks/over tunnel connections and thus often have to wait many seconds when I just need to see the head/tail of the file or when I accidentally click on a large file. The Preview tab is sometimes helpful, but not on unix filesystems where binary and text files often have no extension. Thanks for your consideration!
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Raw View: make that 10 MB configurable
Ok, next beta:
Code: Select all
+ Added tweak to limit the number of bytes previewed of a text file in the
Raw View tab when Hex View is off.
MaxBytesRawViewAscii=5242880
If set to 0 the value defaults to 5242880 (=5MB). In previous versions the
hard default was 10 MB.
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Raw View: make that 10 MB configurable
No, better idea:
Code: Select all
* Raw View: Now the tweak MaxBytesTextPreview also limits the number of
bytes previewed of a text file in the Raw View tab when Hex View is off.
E.g.:
MaxBytesTextPreview=1000000
If set to 0 the value defaults to 5242880 (=5MB).
In previous versions the hard default for this was 10 MB.
FAQ | XY News RSS | XY Twitter
Re: Raw View: make that 10 MB configurable
Great, thanks for the quick implementation! Since it's "Raw View", please make that byte limit count for all types of files, not only text files.admin wrote:No, better idea:
Code: Select all
* Raw View: Now the tweak MaxBytesTextPreview also limits the number of bytes previewed of a text file in the Raw View tab when Hex View is off. E.g.: MaxBytesTextPreview=1000000 If set to 0 the value defaults to 5242880 (=5MB). In previous versions the hard default for this was 10 MB.
Btw, I didn't even know that tweak existed and the only reference I can find is in this thread where I would never have suspected and found it. Is there an index with all existing tweaks?
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Raw View: make that 10 MB configurable
It *does* apply to all files, the change log was a bit misleading.dhrv wrote:Great, thanks for the quick implementation! Since it's "Raw View", please make that byte limit count for all types of files, not only text files.
There is a tweak thread in the forum somewhere.
FAQ | XY News RSS | XY Twitter
Re: Raw View: make that 10 MB configurable
Great, thank you very much!
I have found a list of tweaks from dated 2012, if anybody is interested.
I have found a list of tweaks from dated 2012, if anybody is interested.
Re: Raw View: make that 10 MB configurable
You really are fast, I just tested it successfully in Beta v19.20.0018. Working on a slow network connection is really fluid nowadmin wrote:Ok, next beta:
Due to a very low setting I noticed that the tail feature is not a real tail as already pointed out in this thread. If you find the time, I would also appreciate this feature, or - maybe more versatile - something like a Custom View that is fed by the stdout of a custom command, e.g. "powershell.exe Get-Content <file> –Tail 50". I don't know if that's possible but it could prove useful, things like extracting media info, grepping, etc. could be the use cases.
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Raw View: make that 10 MB configurable
You will see the real tail in the next beta...
That powershell thing is an idea. It's possible. Later...
That powershell thing is an idea. It's possible. Later...
FAQ | XY News RSS | XY Twitter
Re: Raw View: make that 10 MB configurable
incredible!admin wrote:You will see the real tail in the next beta...
That powershell thing is an idea. It's possible. Later...
Re: Raw View: make that 10 MB configurable
Thank you, I can confirm that Beta v19.20.0024 is working fine and the tail is now a real tail if MaxBytesTextPreview is smaller than the file sizeadmin wrote:You will see the real tail in the next beta...