GeeksforGeeks » Algorithms
data structures for text editor
(3 posts)-
may i get more elaborated description of what data structures should be used to make a text editor
-
One simple data structure can be a doubly linked list of buffers. Every node of the linked list contains an array of fixed size.
See http://www.cs.unm.edu/~crowley/papers/sds/sds.html for more options
-
"Rope" is used in editors.
Reply
You must log in to post.