Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGASplit for Automerge.Text #195

Closed
Gozala opened this issue Jul 31, 2019 · 1 comment
Closed

RGASplit for Automerge.Text #195

Gozala opened this issue Jul 31, 2019 · 1 comment

Comments

@Gozala
Copy link
Contributor

Gozala commented Jul 31, 2019

This is related to #193, where I encounter a need for splitting text segments without making delete, insert route. As I was trying to find a solution I came across to RGASplit paper that happens to be foundation for xi editor, atom's collaborative editing feature and their next generation code editor.

I think copy-on-write CRDT approach not only has promising performance improvements, but also might offer some good solution for Rich Text modeling due to introduced split operation. I imagine text blocks could be extended with additional metadata where formatting information could be stored and with that it would be possible to represent Rich Text without resorting to marker tokens as described in #193

@ept
Copy link
Member

ept commented Feb 11, 2021

The Automerge 1.x binary encoding format (#253) compresses sequential insertions in a way that has much the same effect as RGASplit, while keeping the CRDT logic simpler. Also, for formatting metadata we now have cursors (#313). I think that addresses everything in this issue, so I'm going to close it.

@ept ept closed this as completed Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants