1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-13 03:54:35 +00:00
6502bench/SourceGen/AppForms
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
..
AboutBox.cs Initial file commit 2018-09-28 10:05:11 -07:00
AboutBox.Designer.cs Improve behavior under Mono 2018-10-10 11:07:04 -07:00
AboutBox.resx Initial file commit 2018-09-28 10:05:11 -07:00
DataFileLoadIssue.cs Initial file commit 2018-09-28 10:05:11 -07:00
DataFileLoadIssue.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
DataFileLoadIssue.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditAddress.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditAddress.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditAddress.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditAppSettings.cs Make the codeListView column-width setting work like the others 2018-10-11 17:19:09 -07:00
EditAppSettings.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditAppSettings.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditComment.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditComment.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditComment.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditData.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditData.Designer.cs Merge menu items for "edit operand" and "edit data" 2018-10-08 12:49:26 -07:00
EditData.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditDefSymbol.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditDefSymbol.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditDefSymbol.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditLabel.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditLabel.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditLabel.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditLongComment.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditLongComment.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditLongComment.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditNote.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditNote.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditNote.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditOperand.cs Fix add-label shortcut for adjusted operands 2018-10-11 16:48:55 -07:00
EditOperand.Designer.cs Merge menu items for "edit operand" and "edit data" 2018-10-08 12:49:26 -07:00
EditOperand.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditProjectProperties.cs Add parent window to all MessageBox.Show() invocations 2018-10-07 13:13:00 -07:00
EditProjectProperties.Designer.cs Add advanced tutorial 2018-10-09 14:55:16 -07:00
EditProjectProperties.resx Initial file commit 2018-09-28 10:05:11 -07:00
EditStatusFlags.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditStatusFlags.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
EditStatusFlags.resx Initial file commit 2018-09-28 10:05:11 -07:00
FindBox.cs Initial file commit 2018-09-28 10:05:11 -07:00
FindBox.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
FindBox.resx Initial file commit 2018-09-28 10:05:11 -07:00
FormatSplitAddress.cs Add split-address table formatting to tutorial 2018-10-07 10:39:41 -07:00
FormatSplitAddress.Designer.cs Update some comments 2018-10-10 16:41:03 -07:00
FormatSplitAddress.resx Rough prototype of split-address table formatter 2018-10-06 09:16:31 -07:00
GotoBox.cs Initial file commit 2018-09-28 10:05:11 -07:00
GotoBox.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
GotoBox.resx Initial file commit 2018-09-28 10:05:11 -07:00
ProjectLoadIssues.cs Initial file commit 2018-09-28 10:05:11 -07:00
ProjectLoadIssues.Designer.cs Initial file commit 2018-09-28 10:05:11 -07:00
ProjectLoadIssues.resx Initial file commit 2018-09-28 10:05:11 -07:00
ProjectView.cs Fix goto-by-offset 2018-10-15 14:13:59 -07:00
ProjectView.Designer.cs Recognize mouse thumb-button for navigate-back 2018-10-11 17:03:08 -07:00
ProjectView.resx Initial file commit 2018-09-28 10:05:11 -07:00