1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-21 02:29:33 +00:00
6502bench/SourceGen
Andy McFadden 23a4852838 Fix goto-by-offset
Most of the decorative items associated with a file offset are
placed before the item in the display list, and given a span of
zero.  This yields the correct behavior in a binary search: an
exact match finds the decorative item (e.g. a blank line), while a
match partway into the instruction or multi-byte data item causes
the binary search to move on to the next line, where it's resolved.

The problem is that we were adding a blank line *after* instructions
in the no-continue case.  If the binary search found the blank line
before it found the instruction, it would guess "too high" rather
than "too low", and miss the actual instruction line.

We now set a flag and add the blank line as part of the following
item.  We do a little dance at the start to ensure that the blank
line doesn't disappear during a partial update.
2018-10-15 14:13:59 -07:00
..
AppForms Fix goto-by-offset 2018-10-15 14:13:59 -07:00
AsmGen Add parent window to all MessageBox.Show() invocations 2018-10-07 13:13:00 -07:00
Examples Add advanced tutorial 2018-10-09 14:55:16 -07:00
Properties Add keyboard shortcuts for applying hints 2018-10-07 21:13:37 -07:00
RuntimeData Add some more Applesoft zero-page locations 2018-10-11 16:48:30 -07:00
Sandbox Update some comments 2018-10-10 16:41:03 -07:00
Setup Add parent window to all MessageBox.Show() invocations 2018-10-07 13:13:00 -07:00
SGTestData Update some comments 2018-10-10 16:41:03 -07:00
Tests Initial file commit 2018-09-28 10:05:11 -07:00
Tools Placate the static code analyzer 2018-09-30 21:25:26 -07:00
AddressMap.cs Initial file commit 2018-09-28 10:05:11 -07:00
Anattrib.cs Initial file commit 2018-09-28 10:05:11 -07:00
App.config Initial file commit 2018-09-28 10:05:11 -07:00
AppSettings.cs Record main window location as well as size 2018-10-01 15:04:23 -07:00
ChangeSet.cs Initial file commit 2018-09-28 10:05:11 -07:00
CodeAnalysis.cs Initial file commit 2018-09-28 10:05:11 -07:00
DataAnalysis.cs Fix add-label shortcut for adjusted operands 2018-10-11 16:48:55 -07:00
DefSymbol.cs Initial file commit 2018-09-28 10:05:11 -07:00
DisasmProject.cs Expand reach of external symbol nearby-target test 2018-10-08 13:15:16 -07:00
DisplayList.cs Fix goto-by-offset 2018-10-15 14:13:59 -07:00
ExternalFile.cs Initial file commit 2018-09-28 10:05:11 -07:00
FormatDescriptor.cs Initial file commit 2018-09-28 10:05:11 -07:00
HelpAccess.cs Initial file commit 2018-09-28 10:05:11 -07:00
MultiLineComment.cs Initial file commit 2018-09-28 10:05:11 -07:00
NavStack.cs Initial file commit 2018-09-28 10:05:11 -07:00
PlatformSymbols.cs Support command-line invocation 2018-10-08 16:18:56 -07:00
Program.cs Version 1.0.0-beta2 2018-10-12 10:04:16 -07:00
ProjectFile.cs Initial file commit 2018-09-28 10:05:11 -07:00
ProjectProperties.cs Initial file commit 2018-09-28 10:05:11 -07:00
PseudoOp.cs Initial file commit 2018-09-28 10:05:11 -07:00
RuntimeDataAccess.cs Improve chances of running under Mono 2018-10-01 10:28:03 -07:00
SourceGen.csproj Rough prototype of split-address table formatter 2018-10-06 09:16:31 -07:00
SourceGenIcon.ico Initial file commit 2018-09-28 10:05:11 -07:00
Symbol.cs Initial file commit 2018-09-28 10:05:11 -07:00
SymbolTable.cs First cut of split-address table formatter 2018-10-06 18:05:31 -07:00
SymbolTableSubset.cs Flip name/value columns in Symbols window 2018-10-02 13:55:23 -07:00
UndoableChange.cs Initial file commit 2018-09-28 10:05:11 -07:00
VirtualListViewSelection.cs Initial file commit 2018-09-28 10:05:11 -07:00
WeakSymbolRef.cs Initial file commit 2018-09-28 10:05:11 -07:00
XrefSet.cs Initial file commit 2018-09-28 10:05:11 -07:00