title: What is best data structure suitable to implement editor like notepad?
body: <p>Which data structure/s is used in implementation of editors like notepad. This data structure should be extensible, and should support various features like edition, deletion, scrolling, selection of range of text etc? </p>