spike(codeedit): Spike A — CodeEdit fork as prose editor (mode B) + Fix-Card anchor proof (#52)
- ProseTheme + regex prose pass (helm MonokaiHighlighter pattern): bold headings, dimmed markers, green-tinted quotes over tree-sitter markdown - Anchor: whitespace-tolerant quote search → EmphasisManager outline + scroll/selection - Reading toggle via AttributedString per-block renderer (Spike B stance) - Self-check (--check) cwd-independent; PERF-3k anchor search 2.5 ms (Spike B: 2.4) - Found: uniform font sizes + no paragraph spacing (substrate limits), don't-split after typographic apostrophe, ghost-doubling under emphasis+selection
This commit is contained in:
1 parent
d836083aec
commit
f31af14ac4
8 files changed
+527
No files matched your search
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/bin/zsh
|
||||
# ponytail: wrap the SPM binary in a minimal .app — SwiftUI needs a bundle to make windows,
|
||||
# and CodeEditLanguages/Symbols resource bundles must ship inside it (NSBundle.module crash otherwise).
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
swift build 2>&1 | tail -1
|
||||
APP=.build/CodeEditSpike.app
|
||||
rm -rf "$APP" && mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
||||
cp .build/debug/CodeEditSpike "$APP/Contents/MacOS/"
|
||||
for b in .build/debug/CodeEditLanguages_CodeEditLanguages.bundle .build/debug/CodeEditSymbols_CodeEditSymbols.bundle; do
|
||||
cp -R "$b" "$APP/Contents/Resources/" 2>/dev/null || echo "warn: $b missing"
|
||||
done
|
||||
cat > "$APP/Contents/Info.plist" <<'PLIST'
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key><string>CodeEditSpike</string>
|
||||
<key>CFBundleIdentifier</key><string>de.babylondreams.museion.spike-a</string>
|
||||
<key>CFBundleName</key><string>Spike A — CodeEdit fork</string>
|
||||
<key>CFBundlePackageType</key><string>APPL</string>
|
||||
<key>LSMinimumSystemVersion</key><string>26.0</string>
|
||||
<key>NSHighResolutionCapable</key><true/>
|
||||
</dict>
|
||||
</plist>
|
||||
PLIST
|
||||
echo "built: $APP"
|
||||
exec "$APP/Contents/MacOS/CodeEditSpike" "${@:-}"
|
||||
Reference in new issue
Block a user