I thought the data structure part is solved:
https://en.wikipedia.org/wiki/Rope_(data_structure)
Ropes are for strings. In a word processor you need text with formatting, and structures as tables, images and math.
Ropes are for strings. In a word processor you need text with formatting, and structures as tables, images and math.