The first step in building my text editor is to implement the core API. If you’re wondering why I want to do this, the original article is here. I researched several data types, and I tried to be language agnostic. I wanted my decision to not be influenced by any particular language, and first see if there was a “best way” out there, solely based on operations. Of course, a “best way” rarely exist
![Text Editor: Data Structures – averylaird.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/d5fb1f682c013e6328a80ac8f6221a255626b07c/height=288;version=1;width=512/http%3A%2F%2Fd33wubrfki0l68.cloudfront.net%2F8986fc0e21194eb3f0a009ef73b3ebffc159ee68%2F2bf14%2Fstatic%2Frope-data-structure.png)