You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using "Save as..." to save a duplicate the original sketch, closes the original sketch and opens the newly saved one.
This wipes the undo history of the original sketch.
The use case is:
I edit an existing sketch and save the changes. Then I realize I would like to have the original sketch and also keep the latest changes. Natural thing to do is:
Save a copy of the current state of the sketch, then
undo the changes in the original one and
save the original one
To reproduce
Open and edit a saved sketch
Use "Save as..." to duplicate the sketch
Try to undo the edits to the original sketch
Expected behavior
The orginal sketch should stay open and its undo history preserved.
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
Using "Save as..." to save a duplicate the original sketch, closes the original sketch and opens the newly saved one.
This wipes the undo history of the original sketch.
The use case is:
I edit an existing sketch and save the changes. Then I realize I would like to have the original sketch and also keep the latest changes. Natural thing to do is:
To reproduce
Expected behavior
The orginal sketch should stay open and its undo history preserved.
Arduino IDE version
2.2.2-nightly-20240104
Operating system
Linux
Operating system version
6.1.46-gentoo-x86_64
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: