Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: undo

From   "Nick Cox" <>
To   <>
Subject   st: RE: undo
Date   Tue, 10 Oct 2006 12:42:58 +0100

This is a question to the designers and in a sense 
can only be answered by the thinking 
behind the design. 

In editors I know, there are two main alternatives, 
undo the last change and "get me out of this mess", 
otherwise known as exit without saving. 

For what you want to be possible, -doedit- must understand
a "set" of changes, or "one go", in the way you do. 
What is your definition that can be rendered programmable? 

Yet another alternative: you are showing, in effect, 
a wish for a more flexible editor. Recommendations 
a-plenty can be found in

In my own favourite editor, for example, I can
go backwards and forwards in a set of changes 
at whim. 


Nishant Dass
> Does anyone why Stata only undoes the very last change you
> have made in the do-file editor as opposed to the last
> "set" of changes (all done in one go)?  
> Since Stata is smart, I understand there must be a very
> good reason for it but I am just curious why, because it
> would be very convenient if it were the other way around -
> i.e., being able to undo a whole set of commands that are
> done in one go.

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index