1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-10-05 10:55:09 +00:00
6502bench/SourceGen/RuntimeData/Help
Andy McFadden fac2d6a51f Invoke extension scripts when labels they care about change
We were failing to update properly when a label changed if the label
was one that a plugin cared about.  The problem is that a label
add/remove operation skips the code analysis, and a label edit skips
everything but the display update.  Plugins only run during the code
analysis pass, so changes weren't being reflected in the display
list until something caused it to refresh.

The solution is to ask the plugin if the label being changed is one
that it cares about.  This allows the plugin to use the same
wildcard-match logic that it uses elsewhere.

For efficiency, and to reduce clutter in plugins that don't care
about symbols, a new interface class has been created to handle the
"here are the symbols" call and the "do you care about this label"
call.

The program in Examples/Scripts has been updated to show a very
simple single-call plugin and a slightly more complex multi-call
plugin.
2019-10-13 18:32:53 -07:00
..
advanced.html Invoke extension scripts when labels they care about change 2019-10-13 18:32:53 -07:00
analysis.html Expand the set of things SetInlineDataFormat accepts 2019-10-05 19:51:34 -07:00
codegen.html Change how the "quick set" settings work 2019-10-11 17:39:52 -07:00
editors.html Allow explicit widths in project/platform symbols, part 4 (of 4) 2019-10-03 10:32:54 -07:00
end-notes.html
index.html
intro.html Allow explicit widths in project/platform symbols, part 4 (of 4) 2019-10-03 10:32:54 -07:00
main.css
mainwin.html Add "find previous" 2019-10-09 17:47:07 -07:00
settings.html Rename button text 2019-10-13 15:21:05 -07:00
tools.html
tutorials.html Change how the "quick set" settings work 2019-10-11 17:39:52 -07:00