mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-03 05:49:48 +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) |
||
---|---|---|
.. | ||
AsmGen | ||
Examples | ||
Properties | ||
Res | ||
RuntimeData | ||
Sandbox | ||
SGTestData | ||
Tests | ||
Tools | ||
WpfGui | ||
Anattrib.cs | ||
App.config | ||
App.xaml | ||
App.xaml.cs | ||
AppSettings.cs | ||
AutoLabel.cs | ||
ChangeSet.cs | ||
CodeAnalysis.cs | ||
DataAnalysis.cs | ||
DefSymbol.cs | ||
DisasmProject.cs | ||
DisplayList.cs | ||
DisplayListSelection.cs | ||
Exporter.cs | ||
ExternalFile.cs | ||
FormatDescriptor.cs | ||
FormattedOperandCache.cs | ||
HelpAccess.cs | ||
LineListGen.cs | ||
LocalVariableLookup.cs | ||
LocalVariableTable.cs | ||
MainController.cs | ||
MessageList.cs | ||
MultiLineComment.cs | ||
NavStack.cs | ||
PlatformSymbols.cs | ||
ProjectFile.cs | ||
ProjectProperties.cs | ||
PseudoOp.cs | ||
RuntimeDataAccess.cs | ||
Sgec.cs | ||
SourceGen.csproj | ||
Symbol.cs | ||
SymbolTable.cs | ||
SystemDefaults.cs | ||
SystemDefs.cs | ||
UndoableChange.cs | ||
VisBitmapAnimation.cs | ||
Visualization.cs | ||
VisualizationSet.cs | ||
VisWireframeAnimation.cs | ||
WeakSymbolRef.cs | ||
WireframeObject.cs | ||
XrefSet.cs |