Wednesday, May 11, 2011

Work Progress - May 11 - May 17

Demo: "SB test" link above

Work done:
* Disable "Erase Drawing" button of SB app.
* highlighting for exponential, rationals, sinusoidal, etc.
* Allow user to select our default script (SB3.xml) from the "Load Demo" menu item.
* SB demo: move everything down
* Partial fix of the bug that codelets are accidentally moved on some strange location when editing its textfield value. One cause was that at the time a codelet is selected and dragged away from a JPnlLineList, the JPnlLineList has yet validated (until the next mouse drag), so internally the codelets remained in the line list collapse. This problem has been fixed by calling validate() at the beginning of all GetInsertionPosition() method of the JPnlLine. Another possible measure to eliminate the problem is to disable dragging of regions close to the text field (user may accidentally select those draggable area when selecting a textfield to edit,)
* Change the scope of the variables declared on-the-fly: from local to a script to local to the object (necessary to implement doForever() as a control codelet)

Next step
* Continue with doForever() as a control codelet

No comments:

Post a Comment