Undo
Posted: Sun Feb 09, 2025 2:21 pm
I occasionally had problems with the undo function that I have not been able to reproduce so far. Since I have now realized that it has to do with the automatic indentation, I now have an example.
Copy this in the IDE editor:
Change the DebugPrint(i) to DebugPrint(k):
Put the cursor right in front of the D of DebugPrint and press Backspace twice.
Press Enter
Now try using the Undo function to change the k back to an i. The result is
Copy this in the IDE editor:
Code: Select all
For i=1 To 100
DebugPrint(i)
Next
Code: Select all
For i=1 To 100
DebugPrint(k)
Next
Code: Select all
For i=1 To 100DebugPrint(k)
Next
Code: Select all
For i=1 To 100
DebugPrint(k)
Next
Code: Select all
For i=1 To 100
DebugPrintik)
Next