1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-03 05:49:48 +00:00
6502bench/SourceGen/WpfGui
Andy McFadden 4322a0c231 Add option to put labels on separate lines
We currently have two options for assembly code output, selected by
a checkbox in the application settings: always put labels on the same
lines as the instruction or data operand, or split the labels onto
their own line if they were wider than the label text field.

This change adds a third option, which puts labels on their own line
whenever possible.  Assemblers don't generally allow this for variable
assignment pseudo-ops like "foo = $1000", but it's accepted for most
other situations.  This is a cosmetic change to the output, and will
not affect the generated code.

The old true/false app setting will be disregarded.  "Split if too
long" will be used by default.

Added test 20280-label-placement to exercise the "split whenever
allowed" behavior.

The "export" function has a similar option that has not been updated
(for no particular reason other than laziness).

Also, simplified the app settings GetEnum / SetEnum calls, which
can infer the enumerated type from the arguments.  This should not
impact behavior.
2024-04-21 16:26:42 -07:00
..
AboutBox.xaml Update copyright date in "about" 2022-03-02 09:37:18 -08:00
AboutBox.xaml.cs
CodeListItemStyle.xaml Change highlight region 2021-11-17 11:40:36 -08:00
DataFileLoadIssue.xaml
DataFileLoadIssue.xaml.cs
DiscardChanges.xaml
DiscardChanges.xaml.cs
EditAddress.xaml Tweak address region edit dialog 2021-10-20 09:06:53 -07:00
EditAddress.xaml.cs Tweak address region edit dialog 2021-10-20 09:06:53 -07:00
EditAppSettings.xaml Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
EditAppSettings.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
EditBitmapAnimation.xaml
EditBitmapAnimation.xaml.cs
EditComment.xaml
EditComment.xaml.cs Tweak comment entry UI 2021-11-03 20:23:27 -07:00
EditDataBank.xaml
EditDataBank.xaml.cs ORG rework, part 1 2021-09-16 17:02:19 -07:00
EditDataOperand.xaml Add "uninitialized data" format type 2021-10-13 15:05:07 -07:00
EditDataOperand.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
EditDefSymbol.xaml Fix some address region issues 2021-10-17 18:02:29 -07:00
EditDefSymbol.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditInstructionOperand.xaml Minor tweak to instruction operand editor 2021-10-16 14:46:13 -07:00
EditInstructionOperand.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditLabel.xaml ORG rework, part 7 2021-10-02 15:43:41 -07:00
EditLabel.xaml.cs ORG rework, part 7 2021-10-02 15:43:41 -07:00
EditLocalVariableTable.xaml
EditLocalVariableTable.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditLongComment.xaml
EditLongComment.xaml.cs
EditLvTableLocation.xaml
EditLvTableLocation.xaml.cs
EditNote.xaml
EditNote.xaml.cs
EditProjectProperties.xaml
EditProjectProperties.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditStatusFlags.xaml
EditStatusFlags.xaml.cs
EditVisualization.xaml
EditVisualization.xaml.cs
EditVisualizationSet.xaml
EditVisualizationSet.xaml.cs
Export.xaml
Export.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
ExportVisualization.xaml
ExportVisualization.xaml.cs Update visualization bitmap API 2022-01-12 11:48:20 -08:00
FindBox.xaml
FindBox.xaml.cs
FontPicker.xaml Allow arbitrary code list font sizes 2024-04-19 14:46:17 -07:00
FontPicker.xaml.cs Allow arbitrary code list font sizes 2024-04-19 14:46:17 -07:00
FormatAddressTable.xaml
FormatAddressTable.xaml.cs
GenerateLabels.xaml First cut at label file generation 2024-04-20 16:37:08 -07:00
GenerateLabels.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
GotoBox.xaml
GotoBox.xaml.cs Fix "goto address" for overlapping segments 2021-07-30 14:40:17 -07:00
MainWindow.xaml First cut at label file generation 2024-04-20 16:37:08 -07:00
MainWindow.xaml.cs First cut at label file generation 2024-04-20 16:37:08 -07:00
NewProject.xaml
NewProject.xaml.cs
ProjectLoadIssues.xaml
ProjectLoadIssues.xaml.cs
ShowWireframeAnimation.xaml
ShowWireframeAnimation.xaml.cs