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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user