@springogeek@mastodon.gamedev.place
Post #1735936
2026-04-24 17:47 UTC
I'm trying to write a text editor (in C), using a gap buffer as the underlying data structure for the file content.
But what I can't figure out is, how do you calculate where and how to split the text across multiple lines to display to the user, in a way that is reasonably efficient?
Replies (0)
No replies.