Changes between Initial Version and Version 2 of Ticket #12332
- Timestamp:
- Sep 8, 2014, 8:03:30 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12332
-
Property
Status
changed from
new
toconfirmed
-
Property
Status
changed from
-
Ticket #12332 – Description
initial v2 1 1 This is a follow up of #12327. 2 2 3 Current implementation is really fragile to c anceling events. Eg. a developer might cancel keydown event for whatever reason, and undo will not perform preparation code.3 Current implementation is really fragile to code execution order. If undo manager is initialised before some code that cancels keydown undo manager's listener will be executed, but if the order is opposite, then it won't. 4 4 5 Our goal priority should be below default {{{10}}}.5 The listeners should be added with low priorities (999), so they are always handled at the end - if nothing else handled them.