Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by javier2 on Wednesday January 15, 2025 @11:12AM
(#42712730)
Any editors using this?
[ Parent
| on HN ]
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by cschmidt on Wednesday January 15, 2025 @11:42AM
(#42713278)
It seems like Helix is using it https://github.com/helix-editor/helix/blob/master/docs/archi...
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by abound on Wednesday January 15, 2025 @12:31PM
(#42714087)
FWIW, I use Helix as my main editor and every time it has crashed (probably a few dozen times over a year or two, I've filed issues), it's related to bad text position stuff, where it effectively goes "out of bounds" on the text data structure.
I think its mostly due to multiple buffers showing the same content, as opposed to this Ropey library directly.
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by polyaniline on Thursday January 16, 2025 @01:07AM
(#42721876)
That's unexpected. I've used it for over a year and haven't had a single crash. I've used it for data files millions of lines long, and often open the same file in buffers side by side too. Could you share the issue you opened?
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by abound on Friday January 17, 2025 @02:11PM
(#42742101)
Re:Ropey – A UTF8 text rope for manipulating and editing lar...
by recov on Wednesday January 15, 2025 @11:27AM
(#42713012)
Not that library in particular, but https://zed.dev/blog/zed-decoded-rope-sumtree