Repository navigation
Releases
v0.11.6
0.11.6 (2026-11-26)
⚡ Performance
Release notes
Undo and redo of a tool that rewrites a large range — Toggle Comment, Format JSON, Align Columns, the line and selection tools — no longer take seconds.
Fixed
- Undo after a whole-document tool — undoing Toggle Comment on every line of a 1.3 MB document took 5.3 s, redoing it another 5.3 s, and undoing Format JSON on 1.7 MB 0.85 s. They now take 0.26 s, 0.26 s and 0.21 s. The tools themselves were fast already (about 0.3 s and 0.15 s).
- ⌘↑ after undoing a large edit — the first line could sit at the very top edge of the window with the padding above it cut off. Going to the start of the document always shows the padding.
Changed
- After such a tool on a large range the view stays where it was instead of moving to the end of the changed text, and undo brings back the selection you had before the tool.
- After an undo that leaves a very long selection — the whole document, for instance — the view stays where it is when it already shows part of that selection; until now the editor laid the whole selection out to bring it into view (7.5 s for a 1.3 MB document).
Known limitations
- A range below 16,384 UTF-16 units still goes the typing way, and so does a large edit that is not one of these tools: ⌘Z after Select All and typing over the selection is AppKit's typing undo, and the more text it has to put back, the longer it takes.
For contributors
- The tools put their result in with
insertText, so AppKit registered a typing undo that puts the removed text back as an attributed string. Inserting its attribute runs into the storage's run array costs (runs inserted × runs after them): nearly all of the 5 s wasmemmoveinNSMutableRLEArray.HyperTextView.replaceForToolsends a range oftoolBatchLength(16,384 UTF-16 units) or more throughperformReplacements, which registers its own undo and swaps plain characters in one batch edit — the path Replace All already used. Smaller ranges keep the typing path and its behaviour. typing-big-tools-redonow judges the undo and the redo as well, checks that the selection from before the tool is back, and measures an undo just below the threshold. The undo of 12,000 characters at the start of the 1.3 MB document on the typing path takes 60–72 ms.- After an undo the editor reveals the selection the undo left. A selection of
longRevealLengthor more is not handed toscrollRangeToVisiblewhole (undoDidChange,revealCaretAfterRelayout): AppKit lays out the entire range to find its rectangle. The view is left alone when the selection is the whole document or the view is already inside it; otherwise only the start of the range is revealed. - AppKit stops scrolling as soon as the box of the first line is on screen, so a reveal of the start of the document that comes up from text not laid out yet left the 12 pt of padding above the first line cut off;
revealTopInsetWithDocumentStartscrolls on to the top. The tools used to hide this by moving the view to the end of the text first.typing-big-toolschecks the top after ⌘↑ and after a tool used at the top.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.11.6-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.11.5
0.11.5 (2026-11-26)
🐛 Bug Fixes
Release notes
⌘↓ reaches the end of the document again after a fold that covers the end has opened.
Fixed
- ⌘↓ into a fold that reaches the end of the document — with ⌘↓ from the header of such a fold, the fold opened and the caret went to the end, but in documents of short lines the view could stay at the top; the same happened with ⌘↓ right after unfolding such a region. The view now goes to the end.
For contributors
- After a fold that reaches the end of the document has opened, the fragment of the last paragraph is still where it was while folded, right below the header: the paragraphs in between were never enumerated, and TextKit 2 keeps it there until it revises its height estimate. AppKit then takes the end of the document for visible and does not scroll.
HyperTextView.revealDocumentEndIfMissedchecks against the laid-out viewport, not against coordinates, and pins the view to the end. It only shows when the estimate already matches the text, so it depends on what was scrolled before: the full harness run failed every time, the scenario alone never did (--only scroll-knob-state,fold-giantshows it on the old code).
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.11.5-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.11.4
0.11.4 (2026-11-26)
🐛 Bug Fixes
- editor: scroll by one line when typing at the edge; trackpad, knob and document switch (#30) (f7d0eb3)
Release notes
Typing past the edge of the window scrolls by one line instead of half a screen, trackpad scrolling no longer fights the bounce at the ends of a document, the scroll bar knob shows where you are and no longer moves backwards, and switching to a shorter document no longer freezes the app.
Fixed
Typing and moving the caret past the edge
- Return and typing on the last visible line — pressing Return on the last visible line, or typing until that line wrapped, moved the view by half a screen (213 pt and 192 pt in a 382 pt editor). The view now moves by just the line that left the screen (24 pt). The same goes for Hangul composition that wraps the line and for deleting at the head of the first visible line (it jumped 130–183 pt). Right after a very long line too: Return at the end of a 26,000-character line that ends on the bottom line moved the content by 202 pt and now moves it by one line.
- Return one line above the bottom — it jumped by 189 pt although the new line fitted on the screen. The view no longer moves.
- With word wrap off — there the arrow keys jumped as well: ↓ or Return on the bottom line and ↑ or Backspace on the top line moved the view by half a screen (192 pt of 382). They now move it by one line. Sideways, the view follows a caret that crosses the left edge by as much as it crossed, and brings a caret that crosses the right edge to the middle of the visible width, as before. A selection that an edit leaves behind — a snippet placeholder, a clause of an input method — is brought into view whole when it fits, and a horizontal scroll bar that appears while the view follows the caret no longer covers the caret's line.
- After a large paste — the caret could end up just outside the window: 182 pt below it after pasting 600 lines into the middle of a 1.3 MB note. The editor now checks once more, after the layout has settled, that the caret is on screen.
- Replaying a macro — the view followed the caret after every step of a replay; it now follows once per screen update and once at the end. A hundred runs of a 10-step macro on a 1.2 MB document take about 0.65 s (0.72–0.74 s before).
- Gutter width when the line count gains or loses a digit — the line-number gutter took its new width one layout pass after the edit. In a window completely covered by other windows that pass did not come, and the gutter's frame stayed at the old width (69 pt for a 62 pt gutter after going from 10,000 to 9,999 lines) until something else laid the window out. The width is now set together with the edit.
- Typing costs the same as before.
Trackpad
- Bounce at the ends — swiping past the end of a document with a trackpad made the text jump back by 16–82 pt on every frame of the bounce and left the view 5–71 pt short of the end, with the last line cut off. At the top it came to rest 5–19 pt below the first line. The view now stretches once and comes back to exactly the end.
- Typing while the view is coasting — typing or pressing an arrow key during the momentum of a swipe brought the caret into view, and the rest of the momentum then carried the view away again; the typed text ended up 1,375 pt off screen. When the gesture ends, the caret is brought back into view.
Scroll bar knob
- Knob moving the wrong way — while wheeling down through a 1.3 MB note the knob went backwards on 95 of 250 steps (by up to 14.6 pt on a 382 pt track), and after Go to Line it sat 2–4 % away from where that line is in the document. The knob is now placed by line: the same screen always gives the same position and it moves only the way you scroll. In the same run the largest backward move is 0.9 pt, and the lines at a quarter, half and three quarters of the document put the knob at 0.2499, 0.5000 and 0.7502.
- Dragging the knob — dragging the knob past the top of the track did not reach the first line (it stopped about 40,000 pt short in the 1.3 MB note); it does now. The same drag distance moves the same number of lines wherever you are, and dragging down and back up by the same amount returns to where you started.
- The markers in the strip at the right edge use the same scale as the knob, so the markers of the lines on screen lie within the knob.
Switching documents
- Switching from the end of a long document to a shorter one — opening a file, or switching to a tab, whose document is shorter than the place you were looking at in the previous one made the editor lay out the whole new document: 17.5 s for a 12,002-line JSON file opened from the end of a 24,000-line file. Large edits in that document were slow afterwards as well (Format JSON 3.1 s instead of 150 ms). The switch now takes 160 ms and Format JSON 166 ms. With a split editor it makes no difference which of the two editors was at the end.
- A file rewritten shorter by another program — while you looked at the end of a 24,002-line JSON file and it was rewritten with 12,002 lines, reading it again took 16.2 s and the next Format JSON 3.2 s. They now take 272 ms and 147 ms. A file that grows — a log being appended to — stays where you were reading, as before, and so does a reload while you read the middle of the file.
- The other editor of a split during a whole-document edit — when one editor of a split replaced the document (Select All and then a tool or a paste, or the undo or redo of that), the other editor kept its scroll offset while every height estimate changed: in a 24,000-line document it slid from line 12,002 to line 11,541, and from the end to 2,275 lines above it. It now stays on its line, and an editor that was showing the end stays at the end.
Known limitations
- An edit that sends the caret more than a screen away (a large paste), typing on the last line of the document, undo, find jumps and Go to Line still bring the caret's line to the middle of the window, as before.
- With several carets, typing while one of them is above the visible part of the document can still shift the text slightly (4–33 pt at once): TextKit re-estimates the heights above the screen after such an edit.
- The caret comes back when the momentum has ended, not at once: macOS offers no public way to stop its momentum scrolling.
- A paragraph that wraps over several lines counts as one line, so the knob moves more slowly through a stretch of long paragraphs.
- With word wrap off, or while anything is folded, the knob is placed as before.
- A wheel step larger than the window (800 pt in a 382 pt editor) that falls on the step where TextKit discards its layout cache can still move the text 22–61 lines backwards; the knob follows the text.
For contributors
insertText,setMarkedTextand theinsert…/delete…commands mark the reveal they cause (editRevealDepth), andscrollRangeToVisiblethen uses the minimal reveal of the arrow keys (revealCaretStep(afterEdit:)) — in both wrap modes; with wrap off the sideways position is settled right after it. Right after an edit the edited paragraph is back to an estimated height, so the caret line measured 24 pt lower than it is, and laying fragments out with.ensuresLayoutdoes not correct the positions below.caretLineAfterEditadds up the real heights from the edited paragraph to the caret's.- That sum is used only when the edit starts inside the laid-out viewport. From a second caret above the screen, in text that was never laid out, the caret line came out 295–1,900 pt off and typing one character threw the view up to 2,052 pt away; such edits are left to AppKit.
- It covers up to 64 paragraphs. Beyond that — and, for an edit that replaces the document, when a paragraph over the huge-paragraph limit lies on the way — the edit is left to AppKit and the caret is checked again on the next turn (
revealCaretAfterRelayout). An edit that starts on screen measures such a paragraph as well: it is laid out for drawing anyway, and skipping it handed Return right after a 26,000-character line back to AppKit's centring (202 pt instead of 24). Measuring far edits with a viewport layout walked the whole document after a whole-document edit (Toggle Comment on 1.3 MB went from 150 ms to 1.4 s) — a regression that the typing and scrolling scenarios did not show and the self-test'sperflines did. Whole-document edits keep the first ordinary paragraphs of the edit laid out, which is what stops the next layout pass from walking the document. - After a reveal the editor handled itself, the sideways position is settled for the caret, for the end of the selection an arrow key moved, or — after an edit — for the whole selection from its end back to its start. The visible height is read again on every pass of that reveal: with always-visible scrollers a horizontal scroller can appear in the middle of it and make the view 17 pt shorter.
- The gutter learned that the line count had gained or lost a digit while drawing and only then asked its container for a layout, so its frame followed one pass late — and a window that is fully covered has no display cycle of its own to run that pass.
updateThickness()is now called fromtextDidChange, and for the other editor of a split when the edit is passed on to it.typing-10000-lineschecks the width in the turn of the edit, before anything is drawn, and the frame after one layout pass, so it does not depend on whether the window is visible. - During a macro replay
scrollRangeToVisibledoes nothing;MacroRecordercallsrevealCaretAfterReplayStepsbefore each yield to the run loop and at the end. Inside one run-loop turn the paragr...
v0.11.3
0.11.3 (2026-11-26)
🐛 Bug Fixes
Release notes
Folded documents scroll and re-flow correctly, Fold All and Unfold All keep the line with the caret where it was, the two editors of a split now share their folds, and keys next to a fold no longer touch lines you cannot see.
Fixed
- Scrolling a folded document — with many folds in a large file, wheel steps jumped by hundreds of points, End left an empty band and lines without numbers, and the document was treated as if nothing were folded. In a fully folded 1.3 MB note a wheel step took 28 ms on average with pauses of up to 1.2 s; it now takes about 8 ms without pauses.
- Changing the layout with folds — changing the text size, the sidebar or the window width with everything folded blocked the app for up to a second and could move the view to a different place. The line you were reading stays put and none of these changes stalls.
- Unfold All — Unfold All kept the top line of the window in place, so every fold between that line and the caret opened above the caret and pushed its line off the bottom of the screen (from 196 pt to 772 pt down in a 382 pt editor). The caret's line now stays at the same height. When the caret is off screen, the top line is kept as before; unfolding a single region keeps the top line as before.
- Fold All — Fold All kept the top line of the window, so the header that the caret moves to was pulled up by every region that folded above it. The caret's line — or, when that line is folded away, the header that takes its place — now stays at the same height (127.3 pt before and after). When the caret is not on screen, the view stays on the place you were reading.
- Carets and column blocks on hidden lines — a column block dragged or extended across a fold has a row on every hidden line, and Select All Matches or ⌘D can put carets inside a fold; the fold stayed closed and the next key edited lines that were not on screen. Such a fold now opens. Folding a region that has several carets inside left the hidden ones where they were — and when the main caret was among them, Fold did nothing. Every caret now moves to the end of the header line; a column block collapses to one caret.
- Files with CR LF line ends — folding a region with the caret inside it put the caret between the CR and the LF of the header line, so the next character typed split that line end: the document gained a lone CR and a lone LF, and the line numbers below were off by one. Several carets, ↑ across a fold onto its header and ↓ on the header of a fold that reaches the end of the document ended in the same place. The caret now stops before the CR.
- Writing right below a folded section — after typing on the line below a folded section and selecting part of it, the fold grew over that line and the next key replaced text that was not on screen. A line that holds a caret, a selection or a block row is no longer folded away. When the section has to open because the line you are writing now belongs to it, that line stays where it is instead of sliding down by the height of the section (below a 60-line section it left the screen).
- Arrow keys on a wrapped folded header — Down on the first screen line of a folded header that wraps jumped straight below the fold, so the rest of the header could not be reached with the arrow keys, and Up from a wrapped line below the fold skipped that line's upper screen lines. The caret now steps through the screen lines.
- Undo and fold arrows — after undo or redo in a document with nothing folded, the gutter arrows disappeared for a moment and Fold could fold lines that were not a region (lines 10–12 for a caret on line 10 after undoing two lines inserted above). Undoing a line inserted right above a region no longer removes that region's arrow.
- Scrolling with thousands of folds — the marker strip beside the scroll bar was redrawn on every scroll step. In a document with 15,000 folds a wheel step took 13.7–16.3 ms; it now takes 5.1 ms.
- Very large folds — folding 12,000 lines under one header takes 22 ms, and typing on that header 2.5 ms a key.
Changed
- The two editors of a split share their folds. Folds now belong to the document instead of to one editor: folding or unfolding in one editor of a split does the same in the other. Until now each editor had its own folds. The other editor keeps the place it was showing; if its caret ends up inside a fold, the caret moves to the end of the fold's header line.
- A key that reaches hidden text opens the fold first. Moving or extending the selection by a character, a word (⌥→, ⇧⌥→), to the end of a line or paragraph, or by ⇧↑ / ⇧↓ opens a fold as soon as the step would reach its hidden lines, and the key then does exactly what it does in the unfolded document: ⇧⌥→ at the end of a folded header selects the first word of the first hidden line, with the fold now open. Deleting by word or line next to a fold likewise removes just what it removes in the unfolded document, and the fold opens so that you see what went. A step that only reaches the header's own line break (⇧→ at its end) leaves the fold closed, and so does a line-end key that does not move the caret (⌘→ at the end of the header). A key that shrinks a selection is judged by the end it moves, so the fold next to the other end stays closed (⇧← three times from the end of a folded header, then ⇧⌥→). ↑ and ↓ without a selection still skip over a fold. This holds for folds inside folds — every fold the step passes through opens — and for right-to-left paragraphs, where ⌥← moves forward in the text.
Known limitations
- A fully folded screen still scrolls at two to three times the cost of an unfolded one (5.1 ms against 1.7 ms a wheel step in a document with 15,000 folded two-line regions).
- In a paragraph that mixes left-to-right and right-to-left text, ← and → are checked in both directions, so such a key can open a fold it does not reach.
- For a selection that was not made with the caret keys — a drag, for instance — the first selecting key is checked from both ends, because the editor cannot tell which end will move: the fold next to the end that stays can open.
- Lines that end with a lone CR (the classic Mac format) are not handled: folding breaks lines at LF, with or without a CR before it.
- As before, folds are kept only while the app runs, and a mouse drag across a folded header selects the hidden text.
For contributors
- Hidden paragraphs used to be laid out as zero-height fragments. TextKit 2 honours that only for fragments it has laid out: every other range is estimated from the paragraph content, and at most 2,000 fragments stay laid out, so a 51,000 pt folded document was measured as 537,651 pt in a windowless test. Hidden paragraphs are now left out of the content storage's element enumeration (
NSTextContentStorageDelegate'sshouldEnumerate), andFoldingContentStoragerestarts the enumeration past a fold so that their elements are never created (18.3 → 9.2 ms per wheel step in the folded note). The last paragraph of the document stays enumerated, becauseNSTextViewcannot size the document without it; it is hidden with a zero-height fragment and a 0.01 pt display paragraph. Fold changes are announced withedited(.editedAttributes)—invalidateLayout(for:)leaves stale height estimates above the viewport. - Unfold All in
FoldControllerwraps the change inHyperTextView.preservingReadingPosition(preferCaret: true): the reading anchor is the caret line when that line is on screen, and the top line otherwise. Folding and single unfolds keeppreferCaret: false.mouse-foldallmeasures the caret line's screen position before and after the command. FoldStore(one per content storage) holds the folds and the candidates;FoldController(one per editor) keeps the pills, the gutter, the commands and the reading position. When a command changes the folds, the editor that issued it anchors on its caret line for Fold All and Unfold All; when an edit or a rescan opens a fold, the editor that has the keyboard focus does.- AppKit moves the caret through the laid-out paragraphs, so its steps jump over a closed fold. Before a caret-step command runs,
openFoldsInReachworks out from the string what the step would reach in the unfolded document and opens the folds that hide it (⇧⌥→ after thezof a foldeddef third(z):used to select across the closed fold, and Delete then removed the two hidden lines: 225 → 184 characters, 213 in the open document).stepIntoFold, the fix-up after the step, remains for the boundary cases. A step that extends the selection notes every hidden paragraph in its reach, so nested folds all open; a step without a selection opens only what hides the place the caret lands on. The reach starts from the end the previous caret step moved (caretStepHead; from both ends when that is not known), and a ← or → command is read in the writing direction of its paragraph (writingDirections: the paragraph style, otherwise the first strong character; both ways when the paragraph mixes directions). - The end of a folded header is the end of the line's text (
FoldStore.headerEnd(before:)), not the offset before the hidden lines: with CR LF line ends that offset lies between the CR and the LF. The caret moved out of a fold, the anchor of Fold All, the pill and the arrow keys that cross a fold use it, and a one-character step counts CR LF as one step. For lines that end with LF alone every value is the same as before.fold-crlfcounts the CR LF pairs, lone CRs and lone LFs of the document after...
v0.11.2
0.11.2 (2026-11-26)
⚡ Performance
- editor: do not lay out the whole document when a reflow leaves the view past its end (#28) (051a0f2)
Release notes
Changing the layout while looking at the end of a large document no longer freezes the app.
Fixed
- Freeze at the end of a document — at the end of a 1.3 MB note, making the text smaller, closing the sidebar or closing the split each blocked the app for 0.47–0.81 s, and turning word wrap off at the end of a 4 MB log took 2.2 s. It happened whenever the change made the document shorter than the place you were looking at. None of them stalls over 250 ms now; the log takes 50 ms.
For contributors
- When a reflow shrinks the document height estimate, the scroll position — still the old one — lies beyond the new end of the document.
layoutViewport()there finds no paragraph at that height and lays out paragraph after paragraph from the start of the document, running the syntax-color validator on each: 457–694 ms in the 1.3 MB note and 5 s in the 4 MB log, against 5–7 ms at the same place when the height grows instead.HyperTextView.enterDocumentBeforeViewportLayoutasks where the document ends by laying out its last paragraph (1 ms) and, if the view is past it, moves three screens above the end before the first viewport layout ofrestoreReadingAnchor; the existing loop then settles on the anchor. It keeps a margin because that end and the estimate TextKit uses to look a position up differ by a few hundred points.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.11.2-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.11.1
0.11.1 (2026-11-26)
🐛 Bug Fixes
Release notes
Word wrap off no longer freezes large documents, and the editor now scrolls sideways properly.
Fixed
- Freezes with word wrap off — turning word wrap off in a 1.3 MB note blocked the app for 1.7–3.4 s, and with wrap off every change of theme, syntax colors or text size froze it again for 1.7–4.4 s. A 4 MB log opened with wrap off took 15 s, and one wheel step in it 13–17 s. None of these stalls is left: the log opens in 0.35 s and scrolls at 3.7 ms a step. Typing with wrap off now costs the same as with wrap on (on a file of long paragraphs it was 17.0 ms a key against 13.9 with wrap on; now 14.4 against 14.5).
- Sideways scrolling — with word wrap off the editor often did not scroll sideways at all. In a 3,000-line file whose longest line was 17,334 pt wide the text stayed as wide as the window: no horizontal scroll bar, ⌘→ did not follow the caret to the end of the line, and on a long line far down it threw the view to the top of the document. In other files the width was unrelated to the text (1,644 pt for a note whose longest line is 867 pt). The scroll range now reaches the widest line shown so far and grows when a longer line comes on screen.
- Following the caret sideways — line ends (⌘← / ⌘→), typing and Hangul composition past the right edge, and find results far to the right now bring the caret into view. Moving left one character at a time no longer leaves the caret hidden for one keypress at the left edge.
- Column blocks — dragging a column block across a line shorter than the block threw a sideways-scrolled view back to that line's end (from x 600 to x 169), so the block grew to the wrong columns (52–90 instead of 90–102).
- Text size and reloads — changing the text size while looking at the end of a long line keeps the same characters in view, in both editors of a split, and a file that another program keeps appending to no longer returns to the first column each time it is read again.
Known limitations
- The horizontal scroll range covers the widest line shown so far, not the widest line of the document: a longer line further down widens it when it scrolls into view. It does not shrink until you switch to another file or toggle word wrap.
- Coming back to a tab starts at the first column; the sideways position is not kept per file.
For contributors
Editor/HyperTextView+NoWrap.swift. When the text container does not track the view's width, every read of-[NSTextView textContainerOrigin]lays out the whole document — 22–26 ms a call in a laid-out 1.3 MB file, 2.1–2.4 s after anything that invalidates all layout — and viewport layout, frame changes, the insertion point and our own caret geometry read it on every step. Its value is always the container inset, so the getter returns the inset directly while wrap is off (checked against AppKit's value in left-to-right and right-to-left documents and under an Arabic interface: no mismatch).- AppKit's horizontal auto-sizing is unreliable under TextKit 2, so the view keeps its own width: the wider of the editor and the widest line laid out so far, measured on every viewport layout and before a range is scrolled into view. The text container stays infinitely wide — a finite width sends right-to-left paragraphs to its far edge. A font change rescales the measured width of every editor of the session once, from the primary editor; doing it per editor went wrong in a split in either order.
- Real-use scenarios
nowrap-hscroll,-caret,-draw,-rtl,-split,-layout,-typingand-log(RealUse+NoWrap.swift). On the previous code the first set reports 43 functional issues and 1,268 stall rows; now none. The word-wrap toggles and the jump to a far line have time budgets, so the stalls cannot come back unnoticed.scroll-logtakes 14 s and can go back into the full run.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.11.1-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.11.0
0.11.0 (2026-11-26)
✨ Features
📝 Documentation
- design: TextKit 2 fragment cache, reading anchor and what combining the fixes taught (#22) (5e4e5e9)
Release notes
Files opened from Finder, the Dock or the command line now open as tabs in the HyperEdit window.
Added
- Open With, the Dock and
open -a— HyperEdit was already listed under Open With for plain-text and Markdown files, but nothing received the file. A file opened from Finder, dropped on the Dock icon or passed withopen -a HyperEdit notes.mdnow opens as a tab in the one HyperEdit window. Several files at once get a tab each and the last one is shown; a file that is already open just switches to its tab, and the file you are viewing is not read again. Tabs from the last session stay where they are. A file reached under another spelling of its name (letter case, composed or decomposed Hangul) uses its one tab. - Files on the command line —
HyperEdit a.md b.md(the binary inside the app bundle) opens both as tabs. The files may stand anywhere among the options:HyperEdit a.md --ephemeral b.mdopens both as well. - Things that cannot be opened — a folder, a path that does not exist or a file that is not text is not opened and is reported in the Output panel. No empty file is created for a missing path.
- While HyperEdit is busy — if the app is locked, the files open after you unlock it, so nothing changes behind the lock screen. While a macro is playing or a sheet or dialog is open, they open when it is finished. While you are writing a note in the Quick Append panel, they open after the note is appended or the panel is closed, so ⌘↩ cannot land in the wrong file; an empty Quick Append panel does not hold a file back.
Fixed
- Until now, opening a file from Finder or the Dock while HyperEdit was running did not open the file and added a second window showing the same document. There is one window again.
Known limitations
- HyperEdit does not bring itself to the front: Finder, the Dock and
opendo that, andopen -gkeeps it in the background on purpose. A minimized window is brought back. - A file that is not text is refused when it is handed over from outside; it is not passed on to its default app, as it is when you pick it with ⌘O or in the sidebar.
- If the editor window has been closed while the Settings window is still open, a file opened from outside brings the editor window back with that file, but its tab bar may not be updated: it can still show the tabs it had when it was closed.
For contributors
ExternalOpencollects requests fromapplication(_:open:)(Finder, the Dock,open -a) and hands them toAppModel.openExternalonce the document may change. The window group no longer creates windows for external events (.handlesExternalEvents(matching: [])): SwiftUI added one per open event, on the same model.- Files on the command line are picked out by the app itself (
LaunchOptions.parse), not taken fromapplication(_:openFiles:): AppKit pairs every dash argument with the argument after it, so it handed over the values of this app's options as files and swallowed a file that followed an option without a value (--quit a.md). Options that take a value are listed inLaunchOptions.valueOptions(optionalValuesfor--split);LaunchOptions.value(_:)answers only for those, so a new option that is missing from the list does not work at all instead of having its value opened as a file. - Automated runs are isolated in one place,
Apps/mac/AutomationRun.swift. A test build shares its bundle identifier with the installed app, so everything macOS keeps per bundle identifier, and everything it routes by it, is shared too.isIsolated(a scripted run or--ephemeral) keeps away from the user's preferences, default folder, snapshots, bookmarks, snippets, macros, grammars, saved window state and — new — saved window frames. SwiftUI saves the frame of its window by name whenever the window becomes key, which neitherrestorationBehavior(.disabled)norApplePersistenceIgnoreStatestops; a background self-test changed where the installed app's window opens. Isolated runs replace theNSWindowmethods that save or read a frame by name before any window exists.isScripted(--selftest,--selftest-open,--bench,--realuse,--snapshot, and the launch-timing flags) additionally steps back whenever macOS activates the run — the harness too, at any time during the run, not only at launch — shows its Quick Append panel behind the other windows without taking keys, does not register the global shortcut with the system (GlobalHotKey.pressplays a press instead), and opens a file handed over from outside only when it is one of its own fixtures (ExternalOpen.mayOpen): inside a folder directly in the temporary folder whose name starts withhyperedit-, or directly in the folder of the--filedocument. Anything else is refused with[automation] not opened — outside this run's folders: <path>in the Output panel and on stderr — a file you open in Finder while a test is running can reach the test instance, and its next edit would be autosaved into your file. Name the fixture folders of new testshyperedit-….- A
--snapshotrun without--snapshot-activatetherefore captures the window, and a--quick-appendpanel, in their inactive look. - Checks: the self-test's
isolation:lines and the harness scenarioautomation-isolatedshare one probe (IsolationProbe).
- Tests do not send Apple events to the app itself: an open-documents or reopen event to one's own process can activate the app (two times out of three), and
NSApp.deactivate()did not take it back.open-externalcalls the delegate directly.open-launchis launched once more byscripts/realuse.sh, with two text files, a folder and a missing path as bare arguments right after--quit, and reports into<out>/open-launch/(scripts/realuse.sh --only open-launch; add-- --lockedfor the launch lock). The script now stops the app it launched when it is interrupted, and lists the files a run refused after the report.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs. - No settings or files need migrating.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.11.0-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.10.7
0.10.7 (2026-11-24)
🐛 Bug Fixes
Release notes
The editor keeps your place when the layout changes, and find jumps land where they should.
Fixed
- Keeping your place — zooming, switching themes, toggling word wrap, line numbers, the sidebar, the preview or the split, and resizing the window re-laid the whole document while the scroll position stayed put, so a different part of the document appeared: about 1,000 lines away after ⌘= in a 1.3 MB note, 9,500 lines after turning wrap off, and the caret far outside the window when zooming at the end of a document. Now the line with the caret stays at the same height when the caret is on screen; otherwise the top line does, and a view at the end of the document stays at the end.
- File changed by another program — when the open file was read again, the view drifted by a few points, and with the caret off screen it jumped to the caret (50 lines away in one test). The lines you were reading stay where they were.
- Scrolling after a width change — after closing the preview, two wheel steps could skip 2,000 lines.
- Find jumps and Go to Line — clicking a distant result or going to a distant line showed a place a few hundred lines away; in documents with long paragraphs the selection could be off screen. The target line is placed a third of the way down the window.
- Line numbers and highlights out of step — after a theme change line numbers were drawn 29 pt below their text, and the first scroll moved less than the wheel.
- Quick Find — the result list did not scroll to the current match.
- Fold All — the header that contains the line you were reading comes to the top, and Unfold All keeps it there.
Known limitations
- Turning word wrap off still pauses for 1.7–4.5 s in large documents, and scrolling with wrap off can show blank areas in documents with very long lines.
- In a folded document, changing the text size can still move the view.
- Typing Return on the last visible line still re-centres the view (AppKit behaviour).
For contributors
- 18
find-*andlayout-*real-use scenarios, plustabs-reload-view.HyperTextView.captureReadingAnchor/restoreReadingAnchorhold a line across a reflow and hand the result to the scroll anchor; the saved view position is read from the laid-out viewport instead of a point query, which moved fragment frames after a full invalidation.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.10.7-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.10.6
0.10.6 (2026-11-24)
🐛 Bug Fixes
📝 Documentation
Release notes
The text now moves by exactly what you scroll, also in long documents and after switching tabs.
Fixed
- Scrolling drifted after long scrolls and after switching tabs — after moving through about 2,000 paragraphs of one document the view could jump by hundreds of lines (line 1772 → 1129 on one wheel step in a 1.3 MB note), and after switching between tabs a wheel step of 75 pt moved the text by 0, 51 or −46 pt in every document until the app was restarted. TextKit 2 keeps the layout of at most 2,000 paragraphs and estimates the rest, and entries of replaced documents kept that table full. The editor now puts the text back where it was when a layout pass moves it, and resets the limit so the table is not flushed on every pass.
- Lines with Hangul were 1.3 pt taller than other lines, so composing Hangul on the last visible line re-centred the view (a jump of about 220 pt). All lines now have the same height; Hangul lines are 1.3 pt closer together than before.
- Arrow keys at the edge of the window — moving the caret past the top or bottom edge with the arrow keys re-centred the view by half a window. The view now scrolls only as far as needed.
Known limitations
- The scroll bar knob can still move a few points against the scroll direction, because TextKit 2 re-estimates the document height while scrolling.
- Typing on the last visible line still re-centres the view (AppKit behaviour).
- With word wrap off, large files can still pause for seconds.
For contributors
- The fragment cache limit is a private value of
NSTextLayoutManager; it is only read and set when it exists, and the public-API scroll anchor works without it.HyperTextView.adjustsFragmentCacheLimitturns the adjustment off for tests. - New real-use scenarios:
scroll-long-run,scroll-after-switch,scroll-anchor-only,scroll-arrow-edges,scroll-first-open-end,scroll-line-height.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.10.6-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.
v0.10.5
0.10.5 (2026-11-24)
⚡ Performance
Release notes
The Files sidebar no longer stalls the window in large folders.
Performance
- Switching tabs between folders — with the Files sidebar open, switching between a file in a folder of 5,300 entries and a file elsewhere took 1.6–3.4 s per switch; it now takes 60–90 ms. Toggling the bottom panel while such a folder was shown took 1.5 s and now takes about 40 ms.
- Folders are read one level at a time off the main thread, sub-folders when they are expanded, and each folder you have visited keeps its list, expansion and scroll position.
Fixed
- Folders nested more than three levels deep showed as empty.
- A file created in the folder that the sidebar already shows appears in the list when it is opened.
- A row whose file has been deleted no longer creates an empty file when clicked.
For contributors
- The list is an
NSOutlineView(Panels/FileOutlineView.swift) instead of a SwiftUIListwithOutlineGroup; 7fileview-*real-use scenarios compare the rows with the disk after every step.
Compatibility
- macOS 15 (Sequoia) or later. The DMG (
HyperEdit-<version>-universal.dmg) contains one universal binary that runs natively on Apple Silicon (arm64) and Intel (x86_64) Macs.
Downloads
| Asset | Contents |
|---|---|
| HyperEdit-0.10.5-universal.dmg | macOS app, universal binary — Apple Silicon (arm64) and Intel (x86_64), macOS 15 or later, Developer ID signed and notarized |
| SHA256SUMS | Checksum of the DMG — verify with shasum -a 256 -c SHA256SUMS |
| hyperedit-themes.json | The 22 HyperEdit palettes as Zed themes |
Install
- Homebrew:
brew tap Hyeongcheol-An/tap, thenbrew trust Hyeongcheol-An/tap(Homebrew 7+ refuses casks from an untrusted third-party tap; older Homebrew has no such command, skip it), thenbrew install --cask hyperedit. Upgrade withbrew upgrade --cask hyperedit. - DMG: open the DMG and drag
HyperEdit.apptoApplications. The app opens without Gatekeeper warnings.