how to write coding for undo operation in a simple text editor.I tried it but i couldn't do it.plz somebody help me. :?:

ctrl-Z will undo most operations in a text editor. other wise you will need to create an array to hold the previous changed information until the users are satisfied and submit the text.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.