Kevin Jahns
|
09fbb62ba9
|
improve documentation on global UndoManager
|
2025-03-04 14:52:19 +01:00 |
|
Kevin Jahns
|
69d4a5c821
|
[UndoManager] support global undo
|
2025-03-04 14:42:19 +01:00 |
|
Kevin Jahns
|
2e5abad773
|
fix #645 yjs/y-utility#8
|
2024-06-18 16:51:57 +02:00 |
|
Kevin Jahns
|
541306b254
|
migrate to ObservableV2
|
2024-02-29 17:08:57 +01:00 |
|
Kevin Jahns
|
29fa60ccf9
|
[Undo] add UndoManager.currStackItem
|
2024-02-29 14:46:43 +01:00 |
|
Myles J
|
917261a1ce
|
Facilitate referencing UndoManager StackItem inside Type observers
|
2024-02-29 00:50:36 +00:00 |
|
Kevin Jahns
|
97c09a6cca
|
fix #509
|
2023-08-24 13:52:38 +02:00 |
|
Kevin Jahns
|
49f435284f
|
lint
|
2023-04-03 14:10:26 +02:00 |
|
Kevin Jahns
|
ba96f2fe74
|
implement fix for #500. extends #515
|
2023-04-03 14:02:37 +02:00 |
|
Kevin Jahns
|
7395229086
|
Port test from @PatrickShaw #432. Allow infinite captureTimeout in UndoManager #431. Closes #432
|
2022-10-18 16:45:30 +02:00 |
|
Kevin Jahns
|
8fb73edd97
|
Merge pull request #453 from Cargo/main
Allow updating captureTimeout on UndoManager instances
|
2022-10-03 11:58:03 +02:00 |
|
regischen
|
923fc6e06e
|
fix typo
|
2022-08-25 17:35:24 +08:00 |
|
Aart Rost
|
e0e5f8d2ea
|
Allow updating captureTimeout on UndoManager instances
Used to pause the undoManager by toggling the timeout with `yUndoManager.captureTimeout = Number.MAX_VALUE`
|
2022-08-10 14:07:40 -07:00 |
|
Kevin Jahns
|
6fa8778fc7
|
add doc parameter to UndoManager
|
2022-07-22 14:22:46 +02:00 |
|
Kevin Jahns
|
6febf51b1a
|
fix captureTransaction
|
2022-05-14 18:10:19 +02:00 |
|
Kevin Jahns
|
4ad8af9a80
|
Add option to UndoManager to filter transactions
|
2022-05-14 14:23:47 +02:00 |
|
Kevin Jahns
|
a22b3cdbc1
|
add option to UndoManager to ignore remote map changes. implements #390
|
2022-03-26 10:29:19 +01:00 |
|
Kevin Jahns
|
e9a0dc4ed2
|
add destroy logic
|
2022-03-25 11:08:30 +01:00 |
|
Kevin Jahns
|
d3e117702c
|
add method to add & remove tracked origins
|
2022-03-25 11:00:07 +01:00 |
|
Kevin Jahns
|
4a06492fb1
|
add stack-item-updated event to Y.UndoManager. implements #407
|
2022-03-20 22:49:23 +01:00 |
|
Kevin Jahns
|
46fbce0de8
|
more utility around Y.UndoManager
|
2022-03-20 22:41:33 +01:00 |
|
Kevin Jahns
|
931a37a331
|
only fire stack-item-added when and item was actually added. closes #368
|
2022-02-03 21:36:54 +01:00 |
|
Kevin Jahns
|
8fd1f3405a
|
lint
|
2022-02-03 21:25:29 +01:00 |
|
Kevin Jahns
|
f577a8e3cf
|
Merge pull request #366 from holtwick/main
Add canUndo/canRedo to UndoManager. Fixes #365
|
2022-02-03 21:21:33 +01:00 |
|
Kevin Jahns
|
4cfa49d601
|
reproduce and fix issues #355 #343 #304 and closes #367
|
2022-02-03 21:10:24 +01:00 |
|
Dirk Holtwick
|
f857345451
|
Add canUndo/canRedo to UndoManager. Fixes #365
|
2021-12-18 18:26:32 +01:00 |
|
Kevin Jahns
|
995fbfa4cc
|
Proper follow redones in nested redos - fixes #317
|
2021-10-14 14:59:26 +02:00 |
|
Kevin Jahns
|
7bd764fba7
|
use non-explicit resolution for lib0
|
2021-05-14 18:53:24 +02:00 |
|
Kevin Jahns
|
9e98fec504
|
Perform undo until change was applied
|
2021-04-13 13:04:49 +02:00 |
|
Kevin Jahns
|
e0b76cd2f4
|
[UndoManager] stop tracking unrelated insertions - yjs/y-monaco#10
|
2021-03-11 18:52:35 +01:00 |
|
Kevin Jahns
|
7a128c271b
|
add changedParentTypes to undomanager events
|
2021-02-02 15:09:42 +01:00 |
|
Kevin Jahns
|
e1f0324840
|
call UndoManager pop-stack-item after transaction
|
2020-11-13 12:05:53 +01:00 |
|
Kevin Jahns
|
8049776074
|
fix double undo - fixes #241
|
2020-09-28 19:00:13 +02:00 |
|
Kevin Jahns
|
60fab42b3f
|
improve memory allocation ⇒ less "minor gc" cleanups
|
2020-06-02 23:20:45 +02:00 |
|
Kevin Jahns
|
dab172fa1d
|
Rework UndoManager to support changes from other / multiple users
|
2020-05-13 19:28:30 +02:00 |
|
Kevin Jahns
|
e3c59b0aa7
|
more options to gc data (undomanager.clear and tryGc)
|
2020-01-27 03:42:32 +01:00 |
|
Kevin Jahns
|
aeb23dbaa9
|
follow redone items to prevent some undo-redo issues. Fixes #162
|
2019-10-08 18:31:56 +02:00 |
|
Kevin Jahns
|
303138f309
|
sanitize items before undoing. fixes #165
|
2019-10-08 17:36:00 +02:00 |
|
Kevin Jahns
|
ece4841b5c
|
update stackItem.meta doc
|
2019-10-03 22:06:07 +02:00 |
|
Kevin Jahns
|
d1f5ff0f59
|
implement PermanentUserData storage prototype
|
2019-09-17 18:53:59 +02:00 |
|
Kevin Jahns
|
251c8aaefc
|
UndoManager configuration to filter deletes
|
2019-08-20 22:28:49 +02:00 |
|
Kevin Jahns
|
36203af88e
|
should not rely on all deconstructing features because not all parsers support it
|
2019-06-29 14:47:34 +02:00 |
|
Kevin Jahns
|
463065ac21
|
UndoManager: keep item before item is deleted (fixes some edge cases of followRedo)
|
2019-06-25 11:56:41 +02:00 |
|
Kevin Jahns
|
d064e6e96e
|
UndoManager accepts an array of types as scope. Implements #156
|
2019-06-25 02:26:18 +02:00 |
|
Kevin Jahns
|
e376b5d472
|
UndoManager fixes
|
2019-06-24 23:04:53 +02:00 |
|
Kevin Jahns
|
03458dc641
|
Port Undo/Redo approach with a clean API
|
2019-06-23 13:04:14 +02:00 |
|
Kevin Jahns
|
2192aa5821
|
Use generic Item with typed content to reduce cache misses
|
2019-05-28 14:18:20 +02:00 |
|
Kevin Jahns
|
8c36f67f0b
|
rework and document api
|
2019-05-07 13:44:23 +02:00 |
|
Kevin Jahns
|
31ff7ac78c
|
improve jsdoc comments
|
2019-04-11 13:22:59 +02:00 |
|
Kevin Jahns
|
52ec698635
|
implement some of the commented todos
|
2019-04-09 04:01:37 +02:00 |
|