1
0
mirror of https://github.com/fadden/6502bench.git synced 2026-04-21 10:16:42 +00:00

Tweak address region edit dialog

Altered the address region edit UI a little to improve clarity.

Also, close the hex dump viewer window when Escape is hit.  (The
tool windows don't have "cancel" buttons, so the key has to be
handled explicitly.)
This commit is contained in:
Andy McFadden
2021-10-20 09:06:53 -07:00
parent 22c47e1d0b
commit cd937709fa
9 changed files with 65 additions and 33 deletions
+4 -4
View File
@@ -4151,10 +4151,10 @@ namespace SourceGen {
esb.Append("End: ");
esb.Append(mFormatter.FormatOffset24(region.Offset + region.ActualLength - 1));
esb.Append(CRLF);
esb.Append("Length: " + region.ActualLength + " / " +
mFormatter.FormatHexValue(region.ActualLength, 2));
esb.Append("Length: " + region.ActualLength + " (" +
mFormatter.FormatHexValue(region.ActualLength, 2) + ")");
if (region.Length == AddressMap.FLOATING_LEN) {
esb.Append(" (floating)");
esb.Append(" [floating]");
}
esb.Append(CRLF);
esb.Append("Pre-label: ");
@@ -4169,7 +4169,7 @@ namespace SourceGen {
!mProject.CpuDef.HasAddr16));
}
} else {
esb.Append("none");
esb.Append("(not set)");
}
esb.Append(CRLF);
esb.Append("Synthetic: " + isSynth);