a simple piece table implementation for the phi text editor. this is a WIP, and, as the editor is porting over to use this piece-table, things are being added hack-ily for compatability.
i would not suggest you use this for any serious kind of project!