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

suspicion: undo changed functionality due to latest search/replace changes #81

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

I suspect that since the successful changes of search and replace #78, undo functions differently. When undoing a replace, the undo first shows removal of the replaced string (i.e. no string is left) and on the next c-u returns with the string that was replaced.

This did not happen in the original code. This needs further investigation and comparison with the original code.

EDIT: Also, once undo is done on one replace, the redo was lost. This was not the case when solving #78. Commit responsible was reverted.

gbonnema commented 7 years ago

The branch responsible for this change contained one major change and some minor changes. To resolve this issue I reverted the complete branch.