Comment by rdimartino

16 days ago

I hadn't heard of rope data structures until I read about the xi editor (also written in Rust) a few years ago, but it looks like that's been discontinued.

https://github.com/xi-editor/xi-editor

The authors of Xi are currently working on Xilem, an experimental reactive UI framework for Rust: https://github.com/linebender/xilem

In the announcement post, they mention that work on Xi is considered "on hold" rather than strictly discontinued: https://raphlinus.github.io/rust/gui/2022/05/07/ui-architect...

Zed uses something similar to ropes as well:

https://zed.dev/blog/zed-decoded-rope-sumtree

Is it even possible to write any text editor without some form of rope data structure?