Strings, ropes, chunks and other text editing related stuff

⚓ rust    📅 2025-05-07    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 55 days ago. The information described in this article may have changed.

Currently i'm writing tui text editor. I've ran into problem that i don't understand anything in strings, how to work with them in context of text editing etc etc.

I'm using this repo as reference:led

I still don't understand some concepts like Mark, MarkSet in marks.rs and some other things, but they seem pretty doable for me. Just need a bit more understanding where they are used.

I need some help in formatter.rs.

The concept of chunks, graphemes, ropes, gap buffers and working with text in context of editing overall is new for me.

I want to know more about it but i'm having trouble phrasing the question, so i don't even know how to ask google what i'm looking for.
Could you please help me find some resources on those topics?

1 post - 1 participant

Read full topic

🏷️ rust_feed