Caxton
Features Benchmarks Pricing Support Download
Guide
Getting Started Opening Large Files Find & Replace Filtering CSV Workbench Editing at Scale Navigation & Bookmarks View & Themes Sessions & Recovery
Reference
Keyboard Shortcuts Benchmarks

Opening Large Files

Caxton's document model is a memory-mapped piece table with a tiered line index. That is why a 10 GB file opens instantly: nothing is copied, converted, or loaded into RAM up front.

Progressive indexing

When a file opens, the line index builds in the background and the status bar shows its progress. Everything works during the build — the editor renders and edits against whatever has been indexed so far and streams in the rest.

Caxton indexing a 10 GB log in the background

Mid-index on the 10 GB benchmark log. The document is already scrollable and editable; the status bar tracks the background scan.

The Large File Controller

Files over a few hundred megabytes get a one-time chooser with the open strategies:

Growing logs: watching and follow-tail

Caxton watches open files for external changes. When another process appends to a log, the document absorbs the new lines about once per second. Turn on Follow in the status bar to pin the view to the end of the file as it grows — tail -f, but with search, filters, and full scrollback.

Single-line monsters

A 500 MB minified bundle on one line is a worst case that Caxton treats as a first-class citizen. The renderer draws only the visible segment of the line — you can jump 267 MB deep into a single line and land instantly, and finding text in it takes under a second.

Encodings

UTF-8 is detected and displayed with the line-ending style in the status bar. Mixed international text — CJK, emoji, combining marks — renders and edits correctly, with caret movement that respects grapheme clusters rather than bytes.