1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-07 20:28:55 +00:00
6502bench/SourceGenWPF
Andy McFadden 9c8afab2ea Restore selection and top position after change
Restoring the selection works pretty much like it used to, though
I'm capping the total size of the selection because it goes into
stupid-slow mode if you have too many elements.

Getting the item that is at the top of the ListView is astoundingly
obscure, due to the ListView's extreme generality.  I make a
simplifying assumption -- that we're using a VSP -- which allows us
to use a simple vertical offset once we've dug the appropriate
object out of the visual tree.  (The alternative is to walk through
the list of items and see what's on screen, or perform a hit test
calculation in the upper left corner.)  Yay WPF.
2019-06-10 15:46:35 -07:00
..
AsmGen Show formatted data in the code list 2019-05-27 18:52:25 -07:00
ProjWin Restore selection and top position after change 2019-06-10 15:46:35 -07:00
Properties Add WPF app skeleton 2019-04-29 16:34:09 -07:00
Res Wire up the Info panel 2019-06-09 14:24:46 -07:00
Sandbox Fiddle with selection 2019-05-29 17:39:36 -07:00
AddressMap.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
Anattrib.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
App.config Add WPF app skeleton 2019-04-29 16:34:09 -07:00
App.xaml Load a hard-coded project file 2019-05-08 18:08:46 -07:00
App.xaml.cs Port project loader code 2019-05-05 16:50:28 -07:00
AppSettings.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
AutoLabel.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
ChangeSet.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
CodeAnalysis.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
DataAnalysis.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
DefSymbol.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
DisasmProject.cs Make ResetList() 1000x faster 2019-05-30 16:30:59 -07:00
DisplayList.cs Wire up References panel 2019-06-09 18:09:00 -07:00
DisplayListSelection.cs Restore selection and top position after change 2019-06-10 15:46:35 -07:00
ExternalFile.cs Load a hard-coded project file 2019-05-08 18:08:46 -07:00
FormatDescriptor.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
HelpAccess.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
LineListGen.cs Finish wiring up code hint commands 2019-06-08 17:13:11 -07:00
MainController.cs Restore selection and top position after change 2019-06-10 15:46:35 -07:00
MultiLineComment.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
NavStack.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
PlatformSymbols.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
ProjectFile.cs Show formatted data in the code list 2019-05-27 18:52:25 -07:00
ProjectProperties.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
PseudoOp.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
RuntimeDataAccess.cs Load a hard-coded project file 2019-05-08 18:08:46 -07:00
SourceGenWPF.csproj Wire up selection tracking 2019-06-07 17:25:04 -07:00
Symbol.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
SymbolTable.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
SystemDefaults.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
SystemDefs.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
UndoableChange.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
WeakSymbolRef.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00
XrefSet.cs Copy some non-UI code over 2019-05-02 15:45:40 -07:00