AlexKucera 4138bf22dd fix(editor): draw quote/HR/table decorations on the canvas (#71 follow-up 2)
NSTextBlock/NSTextTable layout is broken on this TextKit build regardless
of engine: textBlocks zero-width the line rect (quotes wrapped one
character per line), NSTextTable rows stack vertically with no grid
(tables rendered as concatenated text with a stray outline). The TextKit1
bridge attempt failed live too. Stop fighting the API:

- Presenter emits plain content: quotes indent-only, HR a thin invisible
  line, tables mono-space-padded grid text with alignment honored.
- Each Block/Bound carries a Decoration payload (quote indent, rule,
  table column offsets); ReadingCanvasView.draw renders hairlines,
  rules, and table grids from measured layoutManager geometry.
- Tests assert decorations + column alignment instead of textBlocks.

Full suite green; lint clean.
2026-10-05 18:05:16 +02:00
2026-08-28 12:30:09 +02:00
2026-10-05 15:52:40 +02:00
2026-10-05 15:52:40 +02:00

Museion

The Agentic Writing Environment (AWE): where scholars, texts, and AI minds work under a single roof — named for the Mouseion of Alexandria, the one place in history where they already did.

License: GPL v3

An Obsidian-and-Copilot-class tool for long-form AI-assisted writing, with Ulysses/Scrivener depth and Paper elegance. Native macOS, built in SwiftUI.

Requirements

  • macOS 26.5+ — developed against the latest Xcode (26.x) and Swift (6.3.x); no backward compatibility
  • SwiftFormat and SwiftLint for linting (brew install swiftformat swiftlint)

Getting started

git clone https://git.babylondreams.de/AlexKucera/museion.git
cd museion

open Museion.xcodeproj                                                              # develop in Xcode
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' build   # build
xcodebuild -project Museion.xcodeproj -scheme Museion -destination 'platform=macOS' test    # test (unit + UI)
swiftformat . && swiftlint .                                                        # lint

Full Xcode project at the repo root — open Museion.xcodeproj and run.

License

GPL-3.0-or-later — see LICENSE.

S
Description
Museion — the Agentic Writing Environment: the Mouseion of Alexandria was the one place in history where scholars, texts, and minds worked under a single roof — this tool is the second.
Readme GPL-3.0 Cite this repository
55 MiB
0 Stars 1 Watchers 0 Forks
Museion 0.1.2
Latest
2026-12-03 16:47:20 +01:00
Languages
Swift 86%
HTML 10.2%
Shell 2.6%
Python 1%
CSS 0.2%