[Spec] Min script browser

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Spec] Min script browser



I am experimenting Spec to write a DrGeo user scripts browser (in DrGeo scripts are classes).

The layout and widgetery is so far ok (see screenshot).

Nevertheless I have issue to keep synchronized the compiled methods in the Spec list, a recompiled method when the user edit its code and save it, then the source code in the code widget.

Indeed when the user press save to keep the code it is compiled fine but the Spec list still hold what I guess is another instance of the compiled method.

My attempt to manage this situation makes my code to look like shit.

How will you manage this to keep up to date and synchronized the script information in the different Spec widgets?



Dr. Geo

Untitled window.png (45K) Download Attachment
DrGScriptBrowser2.st (5K) Download Attachment