1
0
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:
Andy McFadden
2019-09-27 13:43:58 -07:00
parent 7739f640f5
commit e898ef9568
4 changed files with 57 additions and 32 deletions

View File

@@ -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() {