1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-07-24 22:25:06 +00:00

Rename FormatSplitAddress to FormatAddressTable

Updated menus and docs to match.
This commit is contained in:
Andy McFadden
2019-09-15 13:37:38 -07:00
parent 9fc61507ca
commit 6f81d748ee
9 changed files with 50 additions and 40 deletions

View File

@@ -2181,14 +2181,14 @@ namespace SourceGen {
}
}
public bool CanFormatSplitAddress() {
public bool CanFormatAddressTable() {
EntityCounts counts = SelectionAnalysis.mEntityCounts;
// Must be at least one line of data, and no code. Note this is lines, not bytes,
// so we can't screen out single-byte lines without additional work.
return (counts.mDataLines > 0 && counts.mCodeLines == 0);
}
public void FormatSplitAddress() {
public void FormatAddressTable() {
TypedRangeSet trs = GroupedOffsetSetFromSelected();
if (trs.Count == 0) {
// shouldn't happen
@@ -2196,7 +2196,7 @@ namespace SourceGen {
return;
}
FormatSplitAddress dlg = new FormatSplitAddress(mMainWin, mProject, trs,
FormatAddressTable dlg = new FormatAddressTable(mMainWin, mProject, trs,
mOutputFormatter);
dlg.ShowDialog();