1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-12 06:28:57 +00:00
6502bench/SourceGen/WpfGui
Andy McFadden 68c324bbe8 Label rework, part 4
Update the symbol lookup in EditInstructionOperand, EditDataOperand,
and GotoBox to correctly deal with non-unique labels.

This is a little awkward because we're doing lookups by name on
a non-unique symbol, and must resolve the ambiguity.  In the case of
an instruction operand that refers to an address this is pretty
straightforward.  For partial bytes (LDA #>:foo) or data directives
(.DD1 :foo) we have to take a guess.  We can probably make a more
informed guess than we currently are, e.g. the LDA case could find
the label that minimizes the adjustment, but I don't want to sink a
lot of time into this until I'm sure it'll be useful.

Data operands with multiple regions are something of a challenge,
but I'm not sure specifying a single symbol for multiple locations
is important.

The "goto" box just finds the match that's closest to the selection.
Unlike "find", it always grabs the closest, not the next one forward.
(Not sure if this is useful or confusing.)
2019-11-16 16:44:08 -08:00
..
AboutBox.xaml Minor updates 2019-10-25 18:16:09 -07:00
AboutBox.xaml.cs Minor updates 2019-10-25 18:16:09 -07:00
CodeListItemStyle.xaml SourceGen After Dark 2019-10-12 17:23:32 -07:00
DataFileLoadIssue.xaml Minor fixes 2019-09-21 18:49:03 -07:00
DataFileLoadIssue.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DiscardChanges.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DiscardChanges.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditAddress.xaml Show load address in Edit Address dialog 2019-10-22 13:58:32 -07:00
EditAddress.xaml.cs Show load address in Edit Address dialog 2019-10-22 13:58:32 -07:00
EditAppSettings.xaml Label rework, part 2 2019-11-12 17:44:51 -08:00
EditAppSettings.xaml.cs Label rework, part 2 2019-11-12 17:44:51 -08:00
EditComment.xaml Minor UI tweaks 2019-09-18 18:11:48 -07:00
EditComment.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditDataOperand.xaml Add junk/align directives 2019-10-18 21:00:28 -07:00
EditDataOperand.xaml.cs Label rework, part 4 2019-11-16 16:44:08 -08:00
EditDefSymbol.xaml Limit value range of project address symbols 2019-10-27 15:36:47 -07:00
EditDefSymbol.xaml.cs Label rework, part 2 2019-11-12 17:44:51 -08:00
EditInstructionOperand.xaml Fix HTML output 2019-09-17 19:13:28 -07:00
EditInstructionOperand.xaml.cs Label rework, part 4 2019-11-16 16:44:08 -08:00
EditLabel.xaml Label rework, part 2 2019-11-12 17:44:51 -08:00
EditLabel.xaml.cs Label rework, part 2 2019-11-12 17:44:51 -08:00
EditLocalVariableTable.xaml Allow explicit widths in project/platform symbols, part 2 2019-10-01 19:11:54 -07:00
EditLocalVariableTable.xaml.cs Label rework, part 2 2019-11-12 17:44:51 -08:00
EditLongComment.xaml Tweak line folding code 2019-11-01 19:47:56 -07:00
EditLongComment.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditLvTableLocation.xaml Add a "move table" button 2019-09-01 16:40:54 -07:00
EditLvTableLocation.xaml.cs Add a "move table" button 2019-09-01 16:40:54 -07:00
EditNote.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditNote.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditProjectProperties.xaml Add change discard confirmation to project properties editor 2019-11-04 17:41:33 -08:00
EditProjectProperties.xaml.cs Label rework, part 2 2019-11-12 17:44:51 -08:00
EditStatusFlags.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditStatusFlags.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Export.xaml Make "long labels on new line" configurable in export dialog 2019-09-18 11:14:20 -07:00
Export.xaml.cs Replace '#' with '_' in .html filename 2019-10-10 14:00:52 -07:00
FindBox.xaml Add "find previous" 2019-10-09 17:47:07 -07:00
FindBox.xaml.cs Add "find previous" 2019-10-09 17:47:07 -07:00
FontPicker.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FontPicker.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatAddressTable.xaml Rename FormatSplitAddress to FormatAddressTable 2019-09-15 13:37:38 -07:00
FormatAddressTable.xaml.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
GotoBox.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
GotoBox.xaml.cs Label rework, part 4 2019-11-16 16:44:08 -08:00
MainWindow.xaml Label rework, part 3 2019-11-16 11:12:32 -08:00
MainWindow.xaml.cs Label rework, part 3 2019-11-16 11:12:32 -08:00
NewProject.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
NewProject.xaml.cs Fix startup issues 2019-07-20 17:36:12 -07:00
ProjectLoadIssues.xaml Fix visibility binding 2019-10-27 10:38:29 -07:00
ProjectLoadIssues.xaml.cs Open damaged projects in read-only mode 2019-10-26 13:20:54 -07:00