The Trunk: MorphicExtras-tfel.200.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: MorphicExtras-tfel.200.mcz

commits-2
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]].
- !