mirror of
https://github.com/fadden/6502bench.git
synced 2025-09-26 12:17:49 +00:00
Minor fixes
Change + save + undo + change was being treated as non-dirty. Added link to "export" feature to documentation TOC. Added keyboard shortcut for high part in data operand editor. Corrected various things in the tutorial.
This commit is contained in:
@@ -1657,6 +1657,14 @@ namespace SourceGen {
|
||||
|
||||
mUndoList.Add(changeSet);
|
||||
mUndoTop = mUndoList.Count;
|
||||
|
||||
// If the user makes a change, saves the file, hits undo, then makes another change,
|
||||
// the "undo top" and "save index" will be equal, which will make us think the
|
||||
// file doesn't need to be saved. In reality there is no longer any undo index that
|
||||
// matches the saved file state.
|
||||
if (mUndoSaveIndex >= mUndoTop) {
|
||||
mUndoSaveIndex = -1;
|
||||
}
|
||||
}
|
||||
|
||||
public string DebugGetUndoRedoHistory() {
|
||||
|
Reference in New Issue
Block a user