1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-09 02:29:27 +00:00
6502bench/SourceGenWPF/WpfGui
Andy McFadden 1044b9d479 Improve restoration of top position
The ListView control provides a ScrollIntoView() method that ensures
the specified item is on screen, scrolling the ListView if needed.
Unfortunately this method is very slow (50-100 ms) and sometimes
fails entirely on larger lists.  (Yay WPF.)

Because the ListView is scrolling by fixed-height item, it's possible
to use the underlying ScrollViewer to move the list instantaneously
and reliably.  So now we do that.

Also, fixed a bug with select-all, where we weren't clearing the
previous selection before calling SelectAll(), leading to a mismatch
with the secondary data structure that we maintain because WPF
ListViews can't deal with large selections efficiently.  (Yay WPF.)

There's still some weird behavior, e.g. sometimes hitting F5 clears
the current selection and sometimes it doesn't.  I think it's related
to which item has focus and the fact you're hitting a key; using the
debug menu item doesn't cause the behavior.

Also, increased MAX_SEL_COUNT from 2000 to 5000.  That takes about
200ms to restore to a ListView on my 5-year-old system.
2019-07-17 17:59:24 -07:00
..
AboutBox.xaml Implement copy-to-clipboard 2019-07-11 11:36:07 -07:00
AboutBox.xaml.cs Implement "about" dialog 2019-07-06 15:51:57 -07:00
CodeListItemStyle.xaml Set background color on Notes in the code list 2019-07-14 15:39:27 -07:00
DataFileLoadIssue.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
DataFileLoadIssue.xaml.cs Wire up Open, Save, and Save As 2019-06-21 16:27:58 -07:00
DiscardChanges.xaml Improve save & restore of top line 2019-07-17 14:08:53 -07:00
DiscardChanges.xaml.cs Rename ProjWin directory to WpfGui 2019-06-21 15:17:04 -07:00
EditAddress.xaml Be a bit more WPF-ish on the OK button management 2019-07-05 15:05:42 -07:00
EditAddress.xaml.cs Implement Edit Label 2019-07-06 17:24:42 -07:00
EditAppSettings.xaml Rough project properties layout 2019-07-01 14:07:30 -07:00
EditAppSettings.xaml.cs Implement first project properties tab ("General") 2019-07-03 14:27:54 -07:00
EditComment.xaml Implement Edit Comment 2019-07-11 15:55:43 -07:00
EditComment.xaml.cs Implement Edit Comment 2019-07-11 15:55:43 -07:00
EditDataOperand.xaml Finish Edit Data Operand dialog 2019-07-11 13:56:16 -07:00
EditDataOperand.xaml.cs Finish Edit Data Operand dialog 2019-07-11 13:56:16 -07:00
EditDefSymbol.xaml Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
EditDefSymbol.xaml.cs Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
EditInstructionOperand.xaml Tweak EditInstructionOperand dialog 2019-07-10 12:57:18 -07:00
EditInstructionOperand.xaml.cs Tweak EditInstructionOperand dialog 2019-07-10 12:57:18 -07:00
EditLabel.xaml Fix Edit Label tweak 2019-07-08 13:43:10 -07:00
EditLabel.xaml.cs Fix Edit Label tweak 2019-07-08 13:43:10 -07:00
EditLongComment.xaml Implement Edit Note 2019-07-13 17:04:47 -07:00
EditLongComment.xaml.cs Implement Edit Note 2019-07-13 17:04:47 -07:00
EditNote.xaml Implement Edit Note 2019-07-13 17:04:47 -07:00
EditNote.xaml.cs Improve save & restore of top line 2019-07-17 14:08:53 -07:00
EditProjectProperties.xaml Implement remaining properties tabs ("Symbol Files", "Extension Scripts") 2019-07-05 16:20:31 -07:00
EditProjectProperties.xaml.cs Implement remaining properties tabs ("Symbol Files", "Extension Scripts") 2019-07-05 16:20:31 -07:00
EditStatusFlags.xaml Rework Edit Status Flags layout 2019-06-22 13:09:49 -07:00
EditStatusFlags.xaml.cs Rework Edit Status Flags layout 2019-06-22 13:09:49 -07:00
FindBox.xaml Implement Find / Find Next 2019-07-07 13:34:47 -07:00
FindBox.xaml.cs Implement Find / Find Next 2019-07-07 13:34:47 -07:00
FontPicker.xaml Implemented the first ("Code View") tab of settings 2019-06-26 17:11:58 -07:00
FontPicker.xaml.cs Implemented the first ("Code View") tab of settings 2019-06-26 17:11:58 -07:00
FormatSplitAddress.xaml Finish split-address table formatter 2019-07-13 15:55:32 -07:00
FormatSplitAddress.xaml.cs Finish split-address table formatter 2019-07-13 15:55:32 -07:00
GotoBox.xaml Implement "go to" feature 2019-07-07 14:30:38 -07:00
GotoBox.xaml.cs Implement "go to" feature 2019-07-07 14:30:38 -07:00
MainWindow.xaml Save & restore symbols list filter options 2019-07-16 14:52:08 -07:00
MainWindow.xaml.cs Improve restoration of top position 2019-07-17 17:59:24 -07:00
NewProject.xaml Implement "new project" 2019-06-22 17:38:07 -07:00
NewProject.xaml.cs Implement "new project" 2019-06-22 17:38:07 -07:00
ProjectLoadIssues.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
ProjectLoadIssues.xaml.cs Implement second project properties tab ("Project Symbols") 2019-07-05 14:53:45 -07:00
WorkProgress.xaml Minor documentation updates 2019-07-06 10:58:24 -07:00
WorkProgress.xaml.cs Layout for app settings 2019-06-24 17:32:53 -07:00