Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[cmv4] 'origin' argument starting with "*" no longer works #7182

@peterflynn

Description

@peterflynn

I've been testing with everyscrub (patched to use Alt+drag instead of Ctrl) and none of its replaceRange() calls are batched. ReplaceRange with a "*" prefix is supposed to batch all contiguous undos regardless of timestamp.

Note that the inline color picker still gets undo-batched properly using a "+" prefix.

I debugged into addChangeToHistory() a little bit, and it looks like all the checks pass in the first if statement except for the last one: lastChangeEvent() is returning undefined.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions