Community
Participate
Working Groups
Build ID: I20080523-0100 Steps To Reproduce: 1. open a new C/C++ file 2. remove a character on the code 3. build the solution 4. try to undo, --> strange eclipse comportment More information: I have seen it on eclipse C/C++ And I think the problem also exist in eclipse RCP I know that Ganymede R3 is not a release, but I'm testing it. Thank you for your work
(In reply to comment #0) > 4. try to undo, --> strange eclipse comportment What do you mean by "strange eclipse comportment"? > I have seen it on eclipse C/C++ > And I think the problem also exist in eclipse RCP So you have not seen this problem opening other non-C/C++ files, is this correct?
I try it with eclipse RCP and I am not able to reproduce the bug so I think it is only a c/c++ bug when I undo, there are some characters (empty) that are added to the file. Regards
(In reply to comment #2) > when I undo, there are some characters (empty) that are added to the file. This is expected behavior. The C/C++ editor removes trailing whitespace on save by default, therefore the first undo step adds the trailing whitespace again. Unfortunately, each removed whitespace sequence is undone separately. I think we should collapse this into a single compound change.