Slow down of TextMorph

Bug #1458041 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.