Access to script costume

Bug #1498379 reported by hilaire on 2015-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Medium
Unassigned

Bug Description

From a script, we may want to access to the script item costume to adjust its style. For now it can be hacked that way (as long as the script accept one argument):

myCostume
 ^ self costume1 app costumes
  detect: [ :each |each mathItem isScriptItem and: [each mathItem script == self ]]
  ifNone: [ nil ]

A better way need to implemented.

tags: added: script
removed: programming
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers