Outerline 1.0-1087
Summary
Build 1087 is a broad macOS housekeeping and performance pass focused on editor and preview smoothness and document-state reliability. Multiple Instruments traces guided the removal of micro-stutter sources during long-document scrolling, reduced background work tied to outline and backlink tracking during active editing, and tightened editor interactions like command-click task checkbox toggling.
Performance and Scrolling
- Reduced editor-only micro hitches when fling-scrolling long documents, including repeated stalls near heavily formatted regions.
- Reduced preview-mode scroll stutter on long documents by trimming repeated work in preview render and scroll tracking paths.
- Preview scroll tracking now reuses measured source-line geometry instead of rebuilding it during scroll events.
- Editor viewport writes are coalesced so restoration remains available without adding avoidable scroll-time work.
- Reduced unnecessary main-thread work during active editing and scrolling.
Document State Reliability
- Document selection now stages the latest clean document immediately while async disk refresh continues in the background.
- Fixed stale AppKit editor updates so an older editor instance cannot write text, selection, or viewport state after a newer document is active.
- Fixed stale async document-load and file-watcher work so older save/load tasks can no longer reapply an outdated document after a newer selection wins.
- Fixed document-position jumps caused by restoring stale viewport state when explicitly selecting a document from the sidebar or file list.
- Explicit document selection resets that document's stored viewport so newly selected documents open at the top instead of inheriting an older scroll position.
- Sidebar, file list, editor content, editor formatting, backlinks, and outgoing links stay aligned more reliably during fast navigation.
Editor Interactions
- Fixed command-click task checkbox toggling in the editor when clicking near the marker boundary, including positions AppKit reports just after
]. - Fixed compact unchecked task marker handling in toggle logic (
- []) so command-click conversion reliably produces- [x]. - Editor interaction handling is more tolerant of real AppKit click-position behavior for task markers, improving command-click ergonomics.
Fixes
- Fixed unnecessary live outline and backlink-related updates affecting scroll-time responsiveness, even when related panels are not actively in use.
- Fixed noisy temporary scroll and file-watcher diagnostic logging so focused-document watching no longer emits console trace chatter during normal use.
- Fixed starred-sidebar selection state so a starred row does not remain highlighted after the active document changes elsewhere.