adrianluan / text-editor Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mhcrnl/text-editor-4
For a text editor, you need a representation of the text in which you can insert or delete something without copying all characters beyond the insertion. This classical technique represents the text as a sequence of lines, where the lines are organized in a structure that allows access to the i-th line, or to insert a new line immediately before the i-th line