mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-19 06:31:02 +00:00
23a4852838
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. |
||
---|---|---|
.. | ||
AboutBox.cs | ||
AboutBox.Designer.cs | ||
AboutBox.resx | ||
DataFileLoadIssue.cs | ||
DataFileLoadIssue.Designer.cs | ||
DataFileLoadIssue.resx | ||
EditAddress.cs | ||
EditAddress.Designer.cs | ||
EditAddress.resx | ||
EditAppSettings.cs | ||
EditAppSettings.Designer.cs | ||
EditAppSettings.resx | ||
EditComment.cs | ||
EditComment.Designer.cs | ||
EditComment.resx | ||
EditData.cs | ||
EditData.Designer.cs | ||
EditData.resx | ||
EditDefSymbol.cs | ||
EditDefSymbol.Designer.cs | ||
EditDefSymbol.resx | ||
EditLabel.cs | ||
EditLabel.Designer.cs | ||
EditLabel.resx | ||
EditLongComment.cs | ||
EditLongComment.Designer.cs | ||
EditLongComment.resx | ||
EditNote.cs | ||
EditNote.Designer.cs | ||
EditNote.resx | ||
EditOperand.cs | ||
EditOperand.Designer.cs | ||
EditOperand.resx | ||
EditProjectProperties.cs | ||
EditProjectProperties.Designer.cs | ||
EditProjectProperties.resx | ||
EditStatusFlags.cs | ||
EditStatusFlags.Designer.cs | ||
EditStatusFlags.resx | ||
FindBox.cs | ||
FindBox.Designer.cs | ||
FindBox.resx | ||
FormatSplitAddress.cs | ||
FormatSplitAddress.Designer.cs | ||
FormatSplitAddress.resx | ||
GotoBox.cs | ||
GotoBox.Designer.cs | ||
GotoBox.resx | ||
ProjectLoadIssues.cs | ||
ProjectLoadIssues.Designer.cs | ||
ProjectLoadIssues.resx | ||
ProjectView.cs | ||
ProjectView.Designer.cs | ||
ProjectView.resx |