[squeak-dev] The Trunk: XML-Explorer-ct.2.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Jan 3 21:29:50 UTC 2022


By the way, is it intended that we have this separate package for ~6 extension methods only? :-)


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Montag, 3. Januar 2022 22:29:12
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: XML-Explorer-ct.2.mcz

Christoph Thiede uploaded a new version of XML-Explorer to project The Trunk:
http://source.squeak.org/trunk/XML-Explorer-ct.2.mcz

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

Name: XML-Explorer-ct.2
Author: ct
Time: 3 January 2022, 10:29:11.972397 pm
UUID: ab93eaa9-fa48-5f45-a686-beb9d3b8cdcc
Ancestors: XML-Explorer-topa.1

Improves multilingual support.

=============== Diff against XML-Explorer-topa.1 ===============

Item was changed:
  ----- Method: XMLNodeWithElements>>explorerContents (in category '*XML-Explorer') -----
  explorerContents

         ^ self elementsAndContents collect: [:element |
                 | name |
                 name := element isTag
                         ifTrue: ['<{1}>' format: {element name}]
                         ifFalse: [element isText
+                                ifTrue: ['[character data]' translated]
-                                ifTrue: ['[character data]']
                                 ifFalse: [element]].
                 ObjectExplorerWrapper
                         with: element
                         name: (name asString contractTo: 32)
+                        model: self ]!
-                        model: self ]
- !


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220103/d2926be3/attachment.html>


More information about the Squeak-dev mailing list