Re: [algogeeks] What data structures will you use to implement a text editor. Size of editor can be changed and you also need to save the styling information for all the text like italic, bold etc.EO

2013-05-27 Thread Shubham Singh
Rope Data Structure is best suited for text editors. On Sat, May 25, 2013 at 10:24 PM, Nishant Pandey nishant.bits.me...@gmail.com wrote: In one of the interview it was asked, can some one suggest good DS for this. Thanks -- You received this message because you are subscribed to the

Re: [algogeeks] What data structures will you use to implement a text editor. Size of editor can be changed and you also need to save the styling information for all the text like italic, bold etc.EO

2013-05-26 Thread Nitish Raj
Ravi you r correct. Rope aka Cord. On Sun, May 26, 2013 at 9:36 AM, Ravi Ranjan ravi.cool2...@gmail.comwrote: Rope On Sat, May 25, 2013 at 10:24 PM, Nishant Pandey nishant.bits.me...@gmail.com wrote: In one of the interview it was asked, can some one suggest good DS for this. Thanks

Re: [algogeeks] What data structures will you use to implement a text editor. Size of editor can be changed and you also need to save the styling information for all the text like italic, bold etc.EO

2013-05-26 Thread Nishant Pandey
i feel stack would be good as we undo the last edited item easily in stack, i have not implemented Rope, if some have implemented Rope, please help me i am interested in implementing Rope. On Sun, May 26, 2013 at 4:21 PM, Nitish Raj raj.n...@gmail.com wrote: Ravi you r correct. Rope aka Cord.