954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

A Text Editor

I would like to implement a text editor . In the design process i have some doubts . Take a text editor like a notepad . We we will able to move directly to any point in the editor which means that a random access is made possible . I initially thought of a linked list of lines . Could someone throw more light into text editor design . 1 more doubt is the undo feature . The undo and redo feature can be implemented using a stack . Is there some better ways to implement this ?

abhi74k
Newbie Poster
15 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

In what language?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

im planning to implement in c++ . I think the language has nothing to do with data structure . This is more of design problem .

abhi74k
Newbie Poster
15 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

well i would suggest for you to go in for Qt + C++ .
well for text editor you do need somekind of GUI and QT can help you with that.
besides its also got a standard example of text editor which you can download and learn how its built.

rahul8590
Posting Whiz
351 posts since Mar 2009
Reputation Points: 92
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: