Slow down of TextMorph

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

Bug Description

TextMorph are slow due to unnecessary update of its cached bitmap when sending message #contents:

Change it as follow:

DrGTextMorph>>contents: stringOrText
 self contents = stringOrText ifTrue: [ ^ self ].
 myForm := nil.
 ^ super contents: stringOrText

Caution, it may conflict with TextMorph at font size change; indeed its bitmap cache need to be reset although content text does not change.

Changed in drgeo:
milestone: 15.04 → 15.07
Changed in drgeo:
status: New → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers