Undo

Forum for discussion about the Windows IDE of Hollywood
Post Reply
Flinx
Posts: 280
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Undo

Post by Flinx »

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:

Code: Select all

For i=1 To 100
	DebugPrint(i)
Next
Change the DebugPrint(i) to DebugPrint(k):

Code: Select all

For i=1 To 100
	DebugPrint(k)
Next
Put the cursor right in front of the D of DebugPrint and press Backspace twice.

Code: Select all

For i=1 To 100DebugPrint(k)
Next
Press Enter

Code: Select all

For i=1 To 100
	DebugPrint(k)
Next
Now try using the Undo function to change the k back to an i. The result is

Code: Select all

For i=1 To 100
		DebugPrintik)
Next
User avatar
airsoftsoftwair
Posts: 5668
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Undo

Post by airsoftsoftwair »

Thanks, will be fixed!
Post Reply