Outerline 1.0-37
Summary
Stability update plus OuterlineDoc preview polish and documentation accuracy pass. The default preview theme is now OuterlineDoc, with tuned code block spacing, blockquote borders, and custom task list markers. Three bug fixes address an undo crash, cross-window annotation syncing (including after pending saves), and deep link position targeting even when the editor view is still initializing.
What's New
- Default markdown preview theme changed to OuterlineDoc.
- OuterlineDoc code block bottom margin now matches paragraph spacing for consistent vertical rhythm.
- Blockquote left border widened from 2px to 3px for better dark-mode visibility.
- Custom task list marker using theme colors instead of MarkdownUI defaults.
Fixes
- Fixed an
EXC_BAD_ACCESScrash in AppKit's undo stack that could occur if the window'sUndoManagerstill held undo actions targeting a deallocated editorNSTextView. The editor now purges the active undo stack when detaching from its window. - Fixed annotations (links, highlights, outline items) not syncing from open-in-new-window documents back to the main window. The metadata directory (
.outerline-data/) is now explicitly watched by the file watcher,refresh()reloads annotations from disk, and dirty-tracking merge semantics ensure local edits are authoritative while preserving external changes. Annotation persist now usesNSFileCoordinatorto prevent concurrent writers from clobbering each other, and a token-based metadata write suppression window prevents self-originated saves from triggering unnecessary full-library refreshes. - Fixed deep link position targeting (annotation, heading, line number) scrolling to the wrong position (or failing when opening a different document) when navigating via the link panel. The scroll executes inside
updateNSViewafter viewport restoration, and range calculation no longer depends on the editortextViewbeing attached yet.