Kevin Jahns
a3b97d941b
rename to ListCursor
2022-07-19 14:49:46 +02:00
Kevin Jahns
100e436e2c
cleanup
2022-07-11 18:36:42 +02:00
Kevin Jahns
2a33507c00
fixed pos.rel cases
2021-12-06 15:07:43 +01:00
Kevin Jahns
8b82c573c4
fix basic inserd & delete bug
2021-12-06 15:07:43 +01:00
Kevin Jahns
b9ccbb2dc7
created new abstraction for search marker
2021-12-06 15:06:17 +01:00
Kevin Jahns
8abf5b85ff
fix #344 - formatting attribute assign bug
2021-11-06 14:35:04 +01:00
Kevin Jahns
28a9ce962d
import from internals
2021-09-25 11:53:16 +02:00
Kevin Jahns
0ec67170d3
allow types as Y.Text embeds
2021-09-25 11:51:08 +02:00
Kevin Jahns
4707fc46ac
fix formatting bug. fixes #319 closes #320
2021-08-02 16:43:25 +02:00
Kevin Jahns
7bd764fba7
use non-explicit resolution for lib0
2021-05-14 18:53:24 +02:00
Kevin Jahns
3a7a324a24
fix #291
2021-04-13 22:05:30 +02:00
Kevin Jahns
77958da657
unify Y.Array & Y.Text deltas so event.changes.delta is equal to event.delta
2021-03-21 21:31:28 +01:00
Kevin Jahns
ee7c189fdc
fix formatting issue #275 #277
2021-02-08 11:45:26 +01:00
Kevin Jahns
2199ac3e4e
merge relativePosition updates
2021-01-30 00:12:01 +01:00
Kevin Jahns
ca667be68b
proper updating of text-attributes
2021-01-09 14:59:56 +01:00
Kevin Jahns
186f7140b6
fix #271 - multiline text formatting issue
2021-01-09 14:55:37 +01:00
Kevin Jahns
0a40b541e8
test with all encoders
2020-12-29 16:59:27 +01:00
Kevin Jahns
0aca7bbefa
implement attributes on Y.Text
2020-11-13 12:40:53 +01:00
Kevin Jahns
53f2344017
implement .clone, .slice, and yxml.get
2020-11-08 01:51:39 +01:00
Kevin Jahns
b4fc073aa5
properly annotate DeltaItem.insert - fixes #227
2020-08-08 18:29:50 +02:00
Kevin Jahns
94646b2f45
fix item.content undefined
2020-08-07 19:29:08 +02:00
Kevin Jahns
6e3b708599
implement search-marker prototype (limited usage for now)
2020-07-15 22:03:02 +02:00
Kevin Jahns
bb45816f05
remove bare for .. of iterations - fixes #220
2020-07-12 20:04:56 +02:00
Kevin Jahns
6c2cf0f769
Implement experimental new encoder 🚀
2020-07-12 18:25:54 +02:00
Kevin Jahns
5293ab4df1
Improve memory usage by omitting the ItemRef step and directly applying the Item
2020-06-09 00:53:05 +02:00
Kevin Jahns
0a0098fdfb
reuse item position references in Y.Text
2020-06-05 00:27:36 +02:00
Cole
e4223760b0
- rollback shorter url to original and ignore max length check for specific line
...
- add opts sanitize for applyDelata in YText
- apply applyDelata document about YText
2020-06-03 11:18:09 +09:00
Cole
5a4ff33bf4
Merge branch 'master' of github.com:yjs/yjs
2020-06-03 11:12:38 +09:00
Kevin Jahns
60fab42b3f
improve memory allocation ⇒ less "minor gc" cleanups
2020-06-02 23:20:45 +02:00
Cole
469404c6e1
move quill relate newline remove logic to y-quill
2020-06-01 19:17:54 +09:00
Kevin Jahns
4547b35641
cleanup formatting attributes
2020-05-11 01:45:27 +02:00
Kevin Jahns
f40e09d156
type fixes for breaking typescript@3.8.* release
2020-04-02 01:03:30 +02:00
Kevin Jahns
c87caafeb6
lint & refactor PR #187
2020-04-01 23:39:27 +02:00
Joe Reeve
a4ce8ae07d
🐛 fix for #187
2020-03-31 16:06:28 +01:00
Kevin Jahns
78fa98c000
add type definition for YText.length
2020-02-03 12:22:35 +01:00
Kevin Jahns
0e6deab9c9
type toJSON returns
2020-01-22 16:44:30 +01:00
Kevin Jahns
6cd9e2be32
lint
2020-01-22 16:42:16 +01:00
Garth Williams
38ed725c2c
basic Y.Text toJSON returns unformatted string
...
This avoids text nodes in nested structures returning undefined when toJSON is called by a parent.
2020-01-22 13:34:13 +01:00
Kevin Jahns
d1f5ff0f59
implement PermanentUserData storage prototype
2019-09-17 18:53:59 +02:00
Kevin Jahns
8bcff6138c
Y.Text snapshot support (toDelta)
2019-08-31 22:42:18 +02:00
Kevin Jahns
e78d84ee59
md lint
2019-08-31 16:47:12 +02:00
Kevin Jahns
c23bcb66ce
delta format: use flat attr comparison
2019-08-31 16:44:07 +02:00
Kevin Jahns
13ad0c8464
implement Y.XmlFragment.length
2019-08-27 02:17:08 +02:00
Kevin Jahns
03458dc641
Port Undo/Redo approach with a clean API
2019-06-23 13:04:14 +02:00
Kevin Jahns
b4e5c5cc1f
Correctly insert embed when using YText.applyDelta
2019-06-13 10:30:39 +02:00
Kevin Jahns
2192aa5821
Use generic Item with typed content to reduce cache misses
2019-05-28 14:18:20 +02:00
calibr
ee45b4fdd6
process embeds in YText.toDelta
2019-05-25 13:48:57 +03:00
Kevin Jahns
72e470c5f0
Fix ytext event.delta - items that are synced and deleted
...
When items are added and deleted in the same transaction, event.delta would recognize them as added (though they are actually deleted). Now it just ignores them.
2019-05-19 20:42:53 +02:00
Kevin Jahns
8c36f67f0b
rework and document api
2019-05-07 13:44:23 +02:00
Kevin Jahns
a336cc167c
order observer and transaction cleanups after one another
2019-04-26 13:31:00 +02:00