This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Undo breaks the code after save when removing of trailing whitespaces on save is enabled | ||
---|---|---|---|
Product: | editor | Reporter: | kalwi |
Component: | -- Other -- | Assignee: | Miloslav Metelka <mmetelka> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | dstrupl, jlahoda, kalwi, mmirilovic, tmysik |
Priority: | P1 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
kalwi
2013-01-19 10:13:15 UTC
Found the problem - it's because of an assert on line UndoRedoManager:397. I'll fix ASAP. Also fixed a potential problem if there would be multiple undoable edits added to UndoRedoManager during save actions (however right now there's only one edit added so the problem does not show up). http://hg.netbeans.org/jet-main/rev/2ada0c01559e *** Bug 225133 has been marked as a duplicate of this bug. *** *** Bug 225052 has been marked as a duplicate of this bug. *** verified in trunk The fix seems fine to me. Integrated in release73: 2ada0c01559e transplanted to 1b197cc366fa Integrated into 'releases', will be available in build *201301222100* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1b197cc366fa User: Miloslav Metelka <mmetelka@netbeans.org> Log: #225087 - Undo breaks the code after save when removing of trailing whitespaces on save is enabled. (transplanted from 2ada0c01559e93056d0009cabc040eca59fd074a) Integrated into 'main-golden', will be available in build *201301230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2ada0c01559e User: Miloslav Metelka <mmetelka@netbeans.org> Log: #225087 - Undo breaks the code after save when removing of trailing whitespaces on save is enabled. verified |