Large files
Files over 512 MB open in large-file mode: read-only, and read from disk a part at a time as you scroll, so a file of any size opens in a fraction of a second and TriPad uses only a few megabytes of memory for it. A 4.9 GB log opens in 0.3 s, compared with 6.8 s and 5 GB of memory without it.
- Lines are counted in the background, about a second for 5 GB, and the line numbers appear when the count is done; a thin line on the scrollbar shows how far it has got. The scrollbar stands for the whole file.
- Find Next, Find Previous and Count search the whole file, at about 5 GB a second for plain text. Regular expressions are much slower. Esc stops a search.
- Go To Line (Ctrl+G), Ctrl+Home and Ctrl+End jump anywhere in the file, and so does
Go to Offset in Expert mode. Go To Line waits for the count when it needs to, and so does
TriPad file:line. Copy copies the selected text. - Lines longer than 16 KB are shown in pieces, and only the first piece is numbered.
- When the file grows, for example a log that is being written, the new lines appear, and if the end of the file is showing the view follows it. View > Follow File always follows the end.
- Log and CSV files are coloured as usual. Filter Lines collects the matching lines from the whole file in the background (a 5 GB log takes a couple of seconds), and Go to Time jumps straight to a time.
- Editing, Save, Replace, Mark, bookmarks, printing and the hex view are not available. File > Edit Whole File loads the whole file into memory so you can edit it.
- The limit is Large-file mode above (MB) in Preferences (Ctrl+,), on the Files page.