Elektrine lite

← Feed

Aviv

springogeek@mastodon.gamedev.place

<p>(He/Him)</p><p>Software Engineer, anxious TechMage, loves digital and analog games!</p><p>Author of DOME, the comfortable game engine.</p><p>Hobbyist <a href="https://mastodon.gamedev.place/tags/indiedev" class="mention hashtag" rel="tag">#<span>indiedev</span></a>, Ashes Reborn player, amateur bookbinder!</p><p>Expect geek talk!</p>

Posts

  • Post #1735936

    I&amp;#39;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&amp;#39;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?