Currently Boa only allows undo up to the last time the
file was saved. I would like at least an option to
have undo continue back longer (preferably
Logged In: YES
I think in (0.0.12) it's actually worse ;)
Undo is only stored up to the last time the file was refreshed (Refreshing applies changes from the source to the
underlying model, e.g. updating the Explore view or any other views that you have open on the file)
My local copy (I'm relatively certain this is not checked in) does what you complain about, it only discards the
undo buffer after saving (you may undo refreshing).
I'll put in a settable preference so you can toggle this. I don't think there is a technical problem anymore with just
not clearing the undo buffer. I decided against this because the buffers would grow indefinitely.
Some operations replace the entire text control contents and all of this stays in the buffer. Times by the number
of modules open in the Editor (31 in my current Boa, little more than usual ;).
I agree, this is choice I should leave open for the user, but do you think this should be on by default?
Logged In: YES
I think I would have it set on all the time, for what
that's worth. It would be nicest, I think, to be able to
set the number of saves that it would preserve undo
information over. I think this could be done with
relatively little pain by inserting some sort of "saved"
marker into the undo file, but I admit to not really having
looked at it.
I think that preserving the save buffer for about three
saves would satisfy me without letting the buffer get too
huge, but if you were doing this, you might as well make
the number of saves settable.
Ok, I have it on (and will leave it on until someone complains).
I'm not really game for counting the saves. The memory usage seems ok, but I will watch it.
Changes are now in CVS, check them out!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.