Display script output in a TextMorph
Bug #1451201 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Right now script output is in a StringMorph.
Do it in a text morph so it is possible to have script output spread in several lines of text.
Edit as
DrGScriptCostum
morph := DrGTextMorph new autoFit: true.
morph contents: '';
font: DrGDefault canvasFont;
backgroundColor: Color white.
mathItem value isText
ifTrue: [ morph contents: mathItem value]
ifFalse: [morph contents: self roundedValueString]
Style need to be extend as for TextCostume
Changed in drgeo: | |
status: | Confirmed → In Progress |
Changed in drgeo: | |
milestone: | wip → 15.07 |
Changed in drgeo: | |
status: | In Progress → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
For style editL
DrGScriptCostum e>>styleClass eStyle
^DrGTextCostum
**BUT** better to make DrGScriptCostume a subclass of DrGTextCostume