amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
29 stars 6 forks source link

Undo "forgets" actions done. #80

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

When changing stuff sometimes undo only reaches the last few changes and "forgets" the first few. This issue needs some more investigation to find out what exactly is wrong.

EDIT: a test of the original code revealed the same errors as in our version and even worse errors, where the undo updates the change in the wrong location. This probably is caused by the errors that already plagued the original search / replace code.

I tagged the code closest to the original code as original-code. This commit I use for reference testing.

gbonnema commented 7 years ago

This is intended behaviour!! The program has options for the editor that writes any changes to an option file in the directory defined in LIBRARY_DIR using a compile define and the hardcoded name of the option file xwperc.

The number of undo's is modifiable using the dialog from menu option "options/Editor".

I am closing this issue.