1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-01-11 02:30:12 +00:00
Andy McFadden be0e6bead1 Minor reshuffling
This was an attempt to add a "loading..." dialog during the initial
open of the project.  This can have some lag because we create a
sandbox (which is currently taking about 300ms) and do a full project
refresh (which can take more than a second on a large 65816 project).

The trick is that we need to do these things on a background thread
while the main thread manages the UI.  We can't manipulate the UI
from the background thread.  For the most part this works, as the
project refresh stuff isn't tied to the UI, but we run into trouble
when generating the line list.  As currently implemented, the line
generator interacts directly with DisplayList, which is acting as an
ItemsSource for the main ListView.

To make this work correctly we'd need to dissociate DisplayList from
LineListGen, e.g. by having DisplayList record but defer changes
until a "go" method is called on the main thread.

The speed is only an issue for large programs, which aren't really
supported yet -- the UI is awkward to use with large files -- so I'm
not going to pursue this further for now.

Also, an unrelated fix: there was an issue where the current ListView
scroll position would be retained if you opened a project while one
was already open.  Harmless but weird.  We now scroll to the top.
2019-07-19 15:24:51 -07:00
..
2019-07-11 11:36:07 -07:00
2019-07-06 15:51:57 -07:00
2019-07-06 17:24:42 -07:00
2019-07-11 15:55:43 -07:00
2019-07-11 15:55:43 -07:00
2019-07-08 13:43:10 -07:00
2019-07-08 13:43:10 -07:00
2019-07-13 17:04:47 -07:00
2019-07-13 17:04:47 -07:00
2019-07-13 17:04:47 -07:00
2019-07-07 13:34:47 -07:00
2019-07-07 13:34:47 -07:00
2019-07-07 14:30:38 -07:00
2019-07-07 14:30:38 -07:00
2019-07-19 15:24:51 -07:00
2019-06-22 17:38:07 -07:00
2019-06-22 17:38:07 -07:00
2019-07-06 10:58:24 -07:00
2019-07-19 15:24:51 -07:00