Bug 1344 - Changes removed by Undo get revert by Redo option while user saved the file after UNDO
Summary: Changes removed by Undo get revert by Redo option while user saved the file a...
Status: CLOSED DUPLICATE of bug 1342
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-10-07 11:52 UTC by Saurabh
Modified: 2011-10-10 12:00 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Saurabh 2011-10-07 11:52:06 UTC
Steps to reproduce:
1.Launch the MonoDevelop.
2.Create a solution.
3.Double click on Main.cs file.
4.Write some code on the main.cs file.
5.Select Undo option from Edit<Undo path or command-z.
6.Changes got removed. Save the file.
7.Select Redo option from Edit<Redo path.

Actual result:
When user clicks on main.cs file and types code and removes code by Undo and save file,after selecting Redo option code reverts back.

Expected result:
Changes removed by Undo should not revert by Redo when user save the file after UNDO.

Environment details:
MonoDevelop 2.8
MonoTouch 4.9.8
Xcode 4.2
VM Lion 10.7
Comment 1 Sebastien Pouliot 2011-10-07 13:23:33 UTC
-> monodevelop
Comment 2 Mikayla Hutchinson [MSFT] 2011-10-07 13:27:30 UTC
Like #1342, it's perfectly valid to use undo/redo after saving the file. The undo/redo stack is not destroyed when you save the file. I don't know any editor that does that.

*** This bug has been marked as a duplicate of bug 1342 ***
Comment 3 Jatin 2011-10-10 05:18:17 UTC
As per the comments from Michael, this is working fine. Hence, closing this issue.