mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
19ba34760b
This is another attempt to fix the ListView keyboard position behavior. Basic problem: if you change something in the ListView, the keyboard position is lost, and WPF doesn't expose a nice way to save and restore it. It appears the way to set the position is by calling Focus() on the specific item you want to have as the "current" keyboard position, but you can only do that at certain times. This attempt removes the grid-splitter resize hack, in favor of just setting a "needs refocus" flag when we restore the selection set. This causes Focus() to be called from the StatusChanged callback on the next event with status="containers generated". During testing I noticed some other odd behavior: if you used "goto" to jump to an address, up/down arrows would change focus to a different control (menu items, grid splitters, etc). The problem there was that we were setting focus to the ListView control rather than to a ListViewItem, so arrow keys were in control-traversal mode rather than list-walk mode. That is also fixed. (Issue #105) |
||
---|---|---|
.. | ||
AboutBox.xaml | ||
AboutBox.xaml.cs | ||
CodeListItemStyle.xaml | ||
DataFileLoadIssue.xaml | ||
DataFileLoadIssue.xaml.cs | ||
DiscardChanges.xaml | ||
DiscardChanges.xaml.cs | ||
EditAddress.xaml | ||
EditAddress.xaml.cs | ||
EditAppSettings.xaml | ||
EditAppSettings.xaml.cs | ||
EditBitmapAnimation.xaml | ||
EditBitmapAnimation.xaml.cs | ||
EditComment.xaml | ||
EditComment.xaml.cs | ||
EditDataBank.xaml | ||
EditDataBank.xaml.cs | ||
EditDataOperand.xaml | ||
EditDataOperand.xaml.cs | ||
EditDefSymbol.xaml | ||
EditDefSymbol.xaml.cs | ||
EditInstructionOperand.xaml | ||
EditInstructionOperand.xaml.cs | ||
EditLabel.xaml | ||
EditLabel.xaml.cs | ||
EditLocalVariableTable.xaml | ||
EditLocalVariableTable.xaml.cs | ||
EditLongComment.xaml | ||
EditLongComment.xaml.cs | ||
EditLvTableLocation.xaml | ||
EditLvTableLocation.xaml.cs | ||
EditNote.xaml | ||
EditNote.xaml.cs | ||
EditProjectProperties.xaml | ||
EditProjectProperties.xaml.cs | ||
EditStatusFlags.xaml | ||
EditStatusFlags.xaml.cs | ||
EditVisualization.xaml | ||
EditVisualization.xaml.cs | ||
EditVisualizationSet.xaml | ||
EditVisualizationSet.xaml.cs | ||
Export.xaml | ||
Export.xaml.cs | ||
ExportVisualization.xaml | ||
ExportVisualization.xaml.cs | ||
FindBox.xaml | ||
FindBox.xaml.cs | ||
FontPicker.xaml | ||
FontPicker.xaml.cs | ||
FormatAddressTable.xaml | ||
FormatAddressTable.xaml.cs | ||
GotoBox.xaml | ||
GotoBox.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
NewProject.xaml | ||
NewProject.xaml.cs | ||
ProjectLoadIssues.xaml | ||
ProjectLoadIssues.xaml.cs | ||
ShowWireframeAnimation.xaml | ||
ShowWireframeAnimation.xaml.cs |