cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 4b605d0ede refactor(mtext): add structured MTextDocument mirror to the editor (phase 1)
First phase of moving the in-app MTEXT editor onto acadrust's structured
MTEXT model. Adds a `doc: MTextDocument` field kept in sync with the raw
content via `parse_mtext` on every preview rebuild, plus `VisSlot` and
`doc_vis_map` — the unified visible-index space that will replace the
hand-rolled `visible_spans` walker (it matches the layout's vis counting:
one caret slot per paragraph break, one per visible char, none for a tab).

Purely additive scaffolding: nothing consumes the doc yet, so editor
behaviour is unchanged. Later phases make the doc authoritative for edits,
formatting, commit and load, then delete the raw-string path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 12:36:26 +03:00
..
commands feat(help): open GitHub Discussions from the HELP command 2026-07-11 10:02:08 +03:00
update fix(ribbon): make command icons inert on the Start page 2026-07-11 10:11:28 +03:00
view feat(save): native OS dialog for Save As, keep in-app format picker 2026-07-11 09:12:36 +03:00
alias.rs feat(alias): centralize command aliases in user-editable ocad.pgp (#286/#288) 2026-07-10 12:39:22 +03:00
automation.rs fix(rotate): apply a typed angle right after the centre (#159) 2026-06-25 19:58:45 +03:00
command_driver.rs fix(clipboard): paste anchor at bounding-box lower-left, not center (#285) 2026-07-10 11:16:13 +03:00
config.rs refactor(config): consolidate settings into one grouped settings.json 2026-07-10 16:41:34 +03:00
document.rs feat(commands): expand standard CAD command coverage 2026-06-29 08:23:58 +03:00
expr_eval.rs fix(expr-eval): bound eval_to_string against super-linear DoS 2026-06-28 22:41:02 +03:00
helpers.rs fix(clipboard): paste anchor at bounding-box lower-left, not center (#285) 2026-07-10 11:16:13 +03:00
history.rs feat(sysvars): persist Ortho, running OSNAP and Isolate in the drawing 2026-07-10 15:45:08 +03:00
layers.rs refactor: move resource/IO root modules under io/ 2026-06-26 23:06:40 +03:00
mod.rs feat(save): native OS dialog for Save As, keep in-app format picker 2026-07-11 09:12:36 +03:00
model_ops.rs fix(web): restore wasm build broken by SECTION + file association 2026-06-29 17:13:17 +03:00
mtext_editor.rs refactor(mtext): add structured MTextDocument mirror to the editor (phase 1) 2026-07-11 12:36:26 +03:00
plugin_host.rs fix(plugin): auto-register unknown layers so added entities survive DWG save (#252) 2026-07-02 20:36:16 +03:00
properties.rs Merge PR #322: perf — responsive large copy/paste + point picking 2026-07-08 23:38:37 +03:00
recent.rs feat(thumbnail): embed a DWG preview on save, show it on the Start page 2026-07-10 23:03:23 +03:00
settings.rs refactor(config): consolidate settings into one grouped settings.json 2026-07-10 16:41:34 +03:00
style_ops.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
text_inline.rs feat(ucs): orient text-bearing annotations to the active UCS 2026-06-22 18:18:35 +03:00
visibility.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00