Skip to content

Experimental live editor 2 - #9

Merged
Bersobis merged 9 commits into
Experimental-Mergedfrom
Experimental-Live-Editor-2
Oct 24, 2026
Merged

Bersobis merged 9 commits into
Experimental-Mergedfrom
Experimental-Live-Editor-2

Conversation

@Bersobis

Copy link
Copy Markdown
Owner

No description provided.

Bersobis and others added 7 commits October 11, 2026 09:33
This adds a dependency-free MathML/OMML math engine for Calcpad expressions, including parsing, printing, OMML conversion, capability checks, and structural editing. It also adds the Live math sidebar pane with one-line write-back to the host document, plus regression tests for math round-trips, palette wiring, and CSS/theme safety.
Added a live-editing panel for source lines with rendered HTML tracking, matrix insertion, math keyboard support, and typed host/panel message flow. This also introduces modular live-document parsing, HTML sanitization, docs for the architecture, and Vitest coverage for rendering, source splitting, matrix literals, and HTML safety.
Add range selection, structural Tab navigation, reliable row-end editing, matrix insertion, and a searchable syntax palette. Improve editability checks, matrix rendering, and desktop sidecar staging when Rust is unavailable.
Support defaults and named arguments for custom functions and macros across parsing, expansion, linting, and editor tooling. Add examples, documentation, and tests; also update SDK and frontend tooling and address a transitive cryptography dependency advisory.
Make worksheet equations directly editable, add collapsible palette sections and clear insertion targeting, and ensure inserted matrices remain parseable and fillable. Tighten editability checks and add a VS Code live-editor smoke harness.
Comment on lines +11 to +13
const path = req.url === '/' ? '/index.html' : req.url.split('?')[0]
try {
const body = await readFile(join(root, path))
Add Next/Previous navigation at #pause points across the web, desktop, and VS Code input forms, with pause state exposed through the API. Deprecate #input with a linter warning. Also improve locale-safe data round-tripping, UI option matching, SVD convergence, and editor usability.
@github-actions

Copy link
Copy Markdown

Documentation preview: https://Bersobis.github.io/CalcpadCE/pr-preview/pr-9/

@Bersobis
Bersobis merged commit 4e2909a into Experimental-Merged Oct 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants