Marlin opens multi-gigabyte files that cause other text editors to crash or freeze.
Memory-Mapped Files
A huge file is mapped and its line index is built off the main thread. The welcome sheet is the product statement: people who open 2 GB files and expect them to just open.
Sparse Indexing & Windowed Scrolling
Go to Line is ⌘J. The status bar shows the line, the column, the language, the encoding, the line ending, and the indent.
Large-File Safety Thresholds
A read-only document can still be sorted by adding the sort to the pipeline. The Sort Lines sheet says so: the file is read-only, add the sort to the pipeline instead.
Search Every Match
Type a pattern in the search bar of a streamed file and press Search. Marlin keeps every match, however many there are. Line numbers go to a scratch file on disk, so 18 million matches use disk space, not memory.
The match list opens with the results. It shows the total and scrolls through every match. Click a row to go to that line.
A plain-text pattern is found with a fast byte search over large blocks of the file. On a 915 MB log with 15 million lines, a search takes about 3.5 seconds on an M-series Mac.
Search Within Results
After a search, type a second pattern in Within results. Marlin searches only the lines of the current results, so the list gets shorter each time. Clear goes back to the full search.
Send to Pipeline
Send to Pipeline makes the open file the pipeline source and adds a Match step with your query. A regular expression stays a Regex match. A plain pattern becomes a Contains match, with the same case setting.