cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven e1c5917644 fix(web): paste clipboard text into the TEXT / MText editors
Ctrl+V was globally bound to the entity paste command, so it never pasted
into an open text editor, and even when routed there iced's clipboard read
is a no-op on the web. Route Ctrl+V to the focused editor and, on the web,
read the system clipboard via the browser's async Clipboard API (the
keypress is a user gesture, so the read is permitted):

- MText editor: insert at the caret (web + native).
- TEXT field: append on the web; native lets the text_input paste itself.
- No editor open: falls through to the entity paste command as before.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 17:05:02 +03:00
..
automation.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
cmd_result.rs feat(pline): create polyline as a live entity so it snaps while drawing 2026-06-18 21:02:50 +03:00
commands.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
document.rs refactor(plugin): drop built-in plugins, external-only 2026-06-17 15:50:52 +03:00
expr_eval.rs Implement Expression Evaluation for numerical inputs and the CLI 2026-06-07 13:17:46 -04:00
helpers.rs feat(clipboard): paste menu with paste-to-original and paste-as-block 2026-06-18 16:09:47 +03:00
history.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
layers.rs fix(ribbon): load style/layer dropdowns from the document 2026-06-12 01:46:17 +03:00
mod.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
model_ops.rs refactor(scene): rename model_solid to solid_model 2026-06-16 11:39:31 +03:00
mtext_editor.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
plugin_host.rs feat(plugin): object-pick acquisition for interactive commands 2026-06-18 01:43:53 +03:00
properties.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00
settings.rs feat: per-viewport grid/snap, adopted from the active viewport 2026-06-18 22:25:44 +03:00
style_ops.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
text_inline.rs fix(style): new text/mtext/dimension use the current style (#92) 2026-06-14 01:15:52 +03:00
update.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
view.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
visibility.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00