[squeak-dev] The Trunk: MorphicExtras-tfel.200.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 30 08:42:06 UTC 2016


Tim Felgentreff uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-tfel.200.mcz

==================== Summary ====================

Name: MorphicExtras-tfel.200
Author: tfel
Time: 30 September 2016, 10:41:47.794046 am
UUID: 7928bc41-4f8c-164d-b1e2-716d4bdb204e
Ancestors: MorphicExtras-tfel.199

remove cached thumbnails from book morph pages before saving them

=============== Diff against MorphicExtras-tfel.199 ===============

Item was changed:
  ----- Method: BookMorph>>releaseCachedState (in category 'caching') -----
  releaseCachedState
  	"Release the cached state of all my pages."
  
  	super releaseCachedState.
  	self removeProperty: #allText.	"the cache for text search"
  	pages do: [:page | 
+ 		page == currentPage ifFalse: [page fullReleaseCachedState].
+ 		page removeProperty: #cachedThumbnail].!
- 		page == currentPage ifFalse: [page fullReleaseCachedState]].
- !



More information about the Squeak-dev mailing list