Bug #29
Undo should never work past the initial file read
Start date:
03/27/2017
Due date:
% Done:
0%
Description
If you start the hammer and it loads a pre-existing set of files.
Then make a change in one of the files and press Undo a few times.
You'll see that you are allowed to do an undo past the file read.
That of course should never happen.
History
#1 Updated by Wil van Antwerpen about 8 years ago
- Status changed from New to Resolved
This turned out to be due to a misunderstanding.
Immediately after reading a new file, one should set
Send EditorMessage SCI_EMPTYUNDOBUFFER
instead of
Send EditorMessage SCI_SETSAVEPOINT
#2 Updated by Wil van Antwerpen about 8 years ago
- Assignee set to Wil van Antwerpen
#3 Updated by Wil van Antwerpen about 8 years ago
- Status changed from Resolved to Closed