Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ronning out of Undo
#4
(05-11-2024, 12:15 AM)TerryRitchie Wrote:
(05-11-2024, 12:09 AM)PhilOfPerth Wrote: While the Undo is extremely useful for recovering from a faux-pas (and that's quite frequent for me), there doesn't seem to be
 an indication when you've used up all your Undo's. When this involved back-tracking over a number of  changes, you may reach 
the limit, and no changes are made. This can be hard to see with a long programme, as  changes may not be obvious in the IDE.
Is there, or can there be, a "Limit of Undo" message?
For now you could increase the history buffer to 2000MB (2GB) so you'll probably never reach the limit.

Options menu -> Backup/Undo...

I use a paint program that describes what you want. When I reach the limit of the buffer it pops up a message stating that no further undo actions can be recorded.
The main problem here is that the way we do things, we never actually run out of undos.

For a quick example of how we tend to do things, it's basically like this:

Code: (Select All)
Do
    a$ = Input$(1)
    l$ = Right$(l$ + a$, 10)
    Cls
    Print l$
Loop Until a$ = Chr$(13)

Start typing.  1234567890   <-- up until this point, you can back up one character at a time and undo your typing.

Type some more.  ABCD     <-- now your string looks like "567890ABCD"...   you can now back up one character at a time, and undo the last 10 things you typed.

At no point do you actually run out of undos, as they tend to overwrite the older undos.

And as for how many undos you have??  

That's all depends on how large your program is, and how much information you added in any particular change, and how large the limit is.

In other words, it's hard to say.  Tongue

Did you type "PRINT" as the last change, or did you CTRL-V and paste in 1000 lines of code??   The size of those changes are going to be variable, depending on your actions, so it's hard to say, "OH!  This one is the one that broke the camel's back!"
Reply


Messages In This Thread
Ronning out of Undo - by PhilOfPerth - 05-11-2024, 12:09 AM
RE: Ronning out of Undo - by TerryRitchie - 05-11-2024, 12:15 AM
RE: Ronning out of Undo - by SMcNeill - 05-11-2024, 12:36 AM
RE: Ronning out of Undo - by SMcNeill - 05-11-2024, 12:19 AM
RE: Ronning out of Undo - by TerryRitchie - 05-11-2024, 12:38 AM
RE: Ronning out of Undo - by SMcNeill - 05-11-2024, 12:51 AM
RE: Ronning out of Undo - by TerryRitchie - 05-11-2024, 12:54 AM
RE: Ronning out of Undo - by PhilOfPerth - 05-11-2024, 01:02 AM
RE: Ronning out of Undo - by SMcNeill - 05-11-2024, 01:10 AM
RE: Ronning out of Undo - by PhilOfPerth - 05-11-2024, 01:21 AM
RE: Ronning out of Undo - by bplus - 05-11-2024, 11:42 AM
RE: Ronning out of Undo - by PhilOfPerth - 05-11-2024, 11:18 PM
RE: Ronning out of Undo - by SMcNeill - 05-11-2024, 11:32 PM



Users browsing this thread: 4 Guest(s)