Merge [K4][6][8] Aktionen erzeugen Ops direkt (Griffe, Objekt-Info, Auswahl, Zeichenbefehle ohne diffToOps), Gruppen mit Schluessel, schnelleres applyOps

Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-10-28 22:12:20 +00:00
commit 94978e844c
60 files changed
+1780 -817

No files matched your search

+9
View File
@@ -210,6 +210,15 @@ export class ProjectDocument {
if (this.handle) core().doc_group_begin(this.handle);
}
/**
* Wie {@link beginGroup}, mit `coalesceKey` (+ `now` in ms): aufeinanderfolgende Gruppen mit
* gleichem Schlüssel im Zeitfenster schliessen an denselben Undo-Schritt an (Griff-Zug, der je
* Mausschritt mehrere Elemente bewegt), [K4] S3.
*/
beginKeyedGroup(coalesceKey: string, now: number): void {
if (this.handle) core().doc_group_begin_keyed(this.handle, coalesceKey, now);
}
endGroup(): void {
if (this.handle) core().doc_group_end(this.handle);
}