Re:A glance into web tech-based text editors’ text management
by gbrown_ on Friday November 11, 2016 @05:11AM
(#12929368)
That will make a good weekend read thanks! Others may be interested in Data Structures for Text Sequences by Charles Crowley[0] which describes Piece Tables. This is the basis for the Vis editor[1].
[0]https://www.cs.unm.edu/~crowley/papers/sds.pdf
[1]https://github.com/martanne/vis