dj0tt / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

IDE still allows for hidden undo/re-do #1043

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a medium-to-large file
2. make an edit at the top of the file
3. scroll to the bottom, edit the bottom of the file (= position cursor)
4. press Undo (= ctrl-z, option-z, ...)

What is the expected output? What do you see instead?
Expected:
Cursor moves to the edit that is being undone.  This is the standard behavior 
in how many thousands of editors?

Actual:
Cursor stays in the position of edit.  It doesn't move to the undo spot.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
1.0.1 - didn't get the latest update

Please provide any additional information below.
This isn't just an annoying bug, it's a critical defect in the user experience. 
 Accidentally hit ctrl-z and you may revert a change and wind up committing the 
code, as I've done several times.  Why even use this IDE's editor if this is 
the behavior?  Haven't other open-source IDEs already solved this problem, and 
a myriad of other ones the Arduino IDE is only beginning to encounter and 
introduce as it adds features?

Original issue reported on code.google.com by fbeach...@gmail.com on 14 Sep 2012 at 6:49

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 14 Sep 2012 at 7:58