Kevin Jahns
|
cc9a857441
|
slightly optimize TreeWalker and integration process
|
2025-02-24 20:30:48 +01:00 |
|
Kevin Jahns
|
bb5410b6dd
|
marginally better typings for applyDelta - #689
|
2025-01-12 19:41:19 +01:00 |
|
Kevin Jahns
|
80e83a84c6
|
Revert "fix(yText): applyDelta should support both Delta and Ops[]"
|
2025-01-12 19:32:51 +01:00 |
|
Yuxiang Kou
|
e67b1296a7
|
fix(yText): applyDelta should support both Delta and Ops[]
Fixed an issue that the yText.applyDelta() accepted only Ops[], but not Delta.
|
2025-01-09 14:58:47 -08:00 |
|
Viktor Szépe
|
f18eab2dfe
|
Fix typos
|
2025-01-03 18:11:43 +00:00 |
|
Kevin Jahns
|
3bf44b9850
|
#667 - add sanity messages when data is read before type is added to a document.
|
2024-10-04 21:07:19 +02:00 |
|
Kevin Jahns
|
8cd1a482bb
|
Y.Array.length should be 0 before it is integrated - #666
|
2024-09-26 19:30:34 +02:00 |
|
synix
|
3df335cb4c
|
update slice() function's doc
|
2024-04-26 12:03:28 +08:00 |
|
synix
|
387be70ae9
|
make slice() function's doc more accurate
|
2024-04-26 11:49:52 +08:00 |
|
synix
|
43815d8292
|
fix lint error
|
2024-04-25 11:33:36 +08:00 |
|
synix
|
25ae9f3236
|
remove unused _transaction in YArray
|
2024-04-25 11:03:17 +08:00 |
|
saki
|
f1532771b7
|
fix typo
|
2024-04-16 01:15:02 +09:00 |
|
Kevin Jahns
|
2fba694cd4
|
Add documentation & clarification to clone method #622
|
2024-03-14 20:33:34 +01:00 |
|
Kevin Jahns
|
133cfc9cdc
|
allow falsy values in formatting attributes
|
2024-03-01 11:29:14 +01:00 |
|
Julian Lehrhuber
|
cdbb55818d
|
Allow falsy attribute values
|
2024-03-01 10:37:51 +01:00 |
|
Kevin Jahns
|
e1bce03ed8
|
better typings for ydoc.get
|
2024-02-09 23:27:24 +01:00 |
|
Kevin Jahns
|
1cb52dc863
|
fix Y.Text formatting issue - closes #606
|
2024-01-21 11:27:12 +01:00 |
|
Kevin Jahns
|
2c0daeb071
|
implement snapshot API for yxml.getAttributes. implements #543
|
2023-11-21 12:24:21 +01:00 |
|
Andrew Haines
|
25bef2308f
|
Fix typing of Y.Map iterators
Signed-off-by: Andrew Haines <andrew@haines.org.nz>
|
2023-10-25 15:00:48 +01:00 |
|
Kevin Jahns
|
a099e98bd6
|
create error on call - fixes #569
|
2023-09-07 13:41:35 +02:00 |
|
Kevin Jahns
|
981340139f
|
skip iterating when there are no formatting items - replaces #547
|
2023-06-25 12:46:02 +02:00 |
|
Kevin Jahns
|
ce098d0ac2
|
refactor #538 (formatting attrs) a bit
|
2023-06-15 12:40:28 +02:00 |
|
Noel Levy
|
08801dd406
|
scan the document once for all ytexts when cleaning up
Fixes #522 but is a scarier change
|
2023-06-12 18:20:22 -07:00 |
|
Noel Levy
|
3741f43a11
|
group cleanups for YText changes into a single transaction
Fixes #522 but is still massively slow
|
2023-06-12 16:56:19 -07:00 |
|
Kevin Jahns
|
83712cb1a6
|
update typings of getAttributes
|
2023-05-04 11:26:11 +02:00 |
|
Kevin Jahns
|
30b56d5ae9
|
Enable typings for inserting custom attrs in YXmlElement - fixes #531
|
2023-05-04 10:07:05 +02:00 |
|
Kevin Jahns
|
d039d48b3f
|
ytext: diff should never create useless delta op
|
2023-04-18 20:07:17 +02:00 |
|
WofWca
|
fb6664a2bc
|
docs: fix JSDoc typo
|
2023-04-01 23:12:49 +08:00 |
|
Kevin Jahns
|
227018f5c7
|
toDelta doesnt create transaction - fixes #506
|
2023-03-11 09:13:27 +01:00 |
|
Kevin Jahns
|
fe48efe64f
|
fix generating too many cleanup transactions. closes #506
|
2023-03-09 13:45:13 +01:00 |
|
Kevin Jahns
|
035e350062
|
optimize formatting cleanup
|
2023-03-02 19:48:00 +01:00 |
|
Kevin Jahns
|
bf338d8040
|
fix attribute update issue - fixes #503
|
2023-03-02 19:08:01 +01:00 |
|
Kevin Jahns
|
2576d4efca
|
increasing sort of ds encoding
|
2023-02-21 14:35:28 +01:00 |
|
Kevin Jahns
|
1c999b250e
|
fix #474 - formatting bug
|
2023-02-14 16:19:22 +01:00 |
|
Kevin Jahns
|
7f6c12a541
|
bump typescript and fix type issues
|
2023-01-31 12:16:03 +01:00 |
|
Kevin Jahns
|
3ece681758
|
allow transactions within event handlers having different origins
|
2022-11-30 12:09:19 +01:00 |
|
Kevin Jahns
|
cac9407185
|
remove snapshot param in yxml.getAttributes
|
2022-11-30 11:34:34 +01:00 |
|
Wenchen Li
|
12667f6b66
|
Remove unused return in forEach of YMap
If the idea is to keep the API as close to the JS Map as possible, maybe we should consider not returning here.
Ref: https://github.com/microsoft/TypeScript/blob/v4.8.3/lib/lib.es2015.collection.d.ts#L28-L31
|
2022-09-19 18:19:41 -04:00 |
|
Kevin Jahns
|
588788fbef
|
fix snapshot diff calculation naming bug
|
2022-09-14 00:37:06 +02:00 |
|
Kevin Jahns
|
ece1fe5426
|
minimize changes when formatting text - #422
|
2022-05-09 12:53:26 +02:00 |
|
Kevin Jahns
|
1c9c97ffe6
|
add yxml.forEach method - closes #421
|
2022-04-23 15:13:26 +02:00 |
|
Kevin Jahns
|
71fad52854
|
fix typing information YMap.iterator - fixes #420
|
2022-04-20 13:09:56 +02:00 |
|
Kevin Jahns
|
9f1548204a
|
Merge pull request #376 from fson/yevent-target-type
Add more accurate typing for YEvent.target
|
2022-03-02 13:18:00 +01:00 |
|
dkuhnert
|
fddb620d41
|
cleanup redundant text attributes when delete attributes
fixes #392
|
2022-02-23 18:20:26 +01:00 |
|
dkuhnert
|
abf3fab1b6
|
cleanup redundant text attributes when delete attributes
fixes #392
|
2022-02-23 14:53:31 +01:00 |
|
Kevin Jahns
|
24eddb2d75
|
fix concurrent formatting / cleanup bug
|
2022-02-04 12:41:13 +01:00 |
|
Kevin Jahns
|
2d1e3fde43
|
fixed edge formatting case
|
2022-02-04 11:26:32 +01:00 |
|
Jeremy Nicholl
|
164b38f0cd
|
Avoid copying attribute map when deleting
Calling cleanupFormattingGap should not make a copy of the
attributes because it needs to be able to update them.
|
2022-01-31 14:49:16 -05:00 |
|
Ville Immonen
|
81a36a2762
|
add more accurate typing for YEvent.target
|
2022-01-15 14:22:17 +02:00 |
|
Kevin Jahns
|
20e1234af2
|
implement performant push in arrays
|
2022-01-11 21:53:20 +01:00 |
|