mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
Change default for "comma-separated bulk data"
The setting determines whether bulk data is displayed as an unbroken string of hex digits, or as "$xx,$xx,...". The latter is easier to read and should be the default. One place in the code did consider it to be the default, so if the config file didn't have a value for the setting, the settings UI would incorrectly show it as enabled.
This commit is contained in:
parent
75ccffe393
commit
50a954cf4d
@ -514,7 +514,7 @@ namespace SourceGen {
|
||||
mFormatterConfig.mLocalVariableLabelPrefix =
|
||||
settings.GetString(AppSettings.FMT_LOCAL_VARIABLE_PREFIX, string.Empty);
|
||||
mFormatterConfig.mCommaSeparatedDense =
|
||||
settings.GetBool(AppSettings.FMT_COMMA_SEP_BULK_DATA, false);
|
||||
settings.GetBool(AppSettings.FMT_COMMA_SEP_BULK_DATA, true);
|
||||
|
||||
string chrDelCereal = settings.GetString(AppSettings.FMT_CHAR_DELIM, null);
|
||||
if (chrDelCereal != null) {
|
||||
|
@ -1104,11 +1104,11 @@ namespace SourceGen.WpfGui {
|
||||
DisplayPresets = new DisplayFormatPreset[AssemblerList.Count + 2];
|
||||
DisplayPresets[0] = new DisplayFormatPreset(DisplayFormatPreset.ID_CUSTOM,
|
||||
(string)FindResource("str_PresetCustom"), string.Empty, string.Empty,
|
||||
string.Empty, string.Empty, string.Empty, string.Empty, false,
|
||||
string.Empty, string.Empty, string.Empty, string.Empty, true,
|
||||
ExpressionMode.Unknown);
|
||||
DisplayPresets[1] = new DisplayFormatPreset(DisplayFormatPreset.ID_DEFAULT,
|
||||
(string)FindResource("str_PresetDefault"), string.Empty, "l", "a:", "f:",
|
||||
string.Empty, string.Empty, false, ExpressionMode.Common);
|
||||
string.Empty, string.Empty, true, ExpressionMode.Common);
|
||||
for (int i = 0; i < AssemblerList.Count; i++) {
|
||||
AssemblerInfo asmInfo = AssemblerList[i];
|
||||
AsmGen.IGenerator gen = AssemblerInfo.GetGenerator(asmInfo.AssemblerId);
|
||||
|
Loading…
Reference in New Issue
Block a user