Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by PittleyDunkin on Wednesday January 15, 2025 @12:32PM
(#42714095)
Zed seems to be a gui-oriented editor here: https://zed.dev/
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by supriyo-biswas on Wednesday January 15, 2025 @12:48PM
(#42714380)
You still need a backing data structure that holds the contents of your editor, and that's where you'd use a rope.
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by infogulch on Wednesday January 15, 2025 @01:10PM
(#42714717)
Zed's Sum Tree is my favorite datastructure ever and is the future of database indexes.
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by senderista on Wednesday January 15, 2025 @05:23PM
(#42717992)
I think this is what Guy Steele called a "monoid-cached tree":
https://zed.dev/blog/zed-decoded-rope-sumtree