Project

General

Profile

Actions

Bug #29

closed

Undo should never work past the initial file read

Added by Wil van Antwerpen about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
03/27/2017
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Wil van Antwerpen almost 9 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

Actions #2

Updated by Wil van Antwerpen almost 9 years ago

  • Assignee set to Wil van Antwerpen
Actions #3

Updated by Wil van Antwerpen almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF