The Inbox: Collections-ct.913.mcz

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

The Inbox: Collections-ct.913.mcz

commits-2
Christoph Thiede uploaded a new version of Collections to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.913.mcz

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

Name: Collections-ct.913
Author: ct
Time: 29 September 2020, 3:05:50.763807 pm
UUID: a7262c7e-0824-c543-bb32-2905e45eb317
Ancestors: Collections-eem.912

Adds convenience method for converting text to HTML, #printHtmlOn:breakLines:.

=============== Diff against Collections-eem.912 ===============

Item was changed:
  ----- Method: Text>>printHtmlOn: (in category 'html') -----
+ printHtmlOn: aStream
+
+ ^ self
+ printHtmlOn: aStream
+ breakLines: true!
- printHtmlOn: aStream
-
- (HtmlReadWriter on: aStream)
- nextPutText: self.!

Item was added:
+ ----- Method: Text>>printHtmlOn:breakLines: (in category 'html') -----
+ printHtmlOn: aStream breakLines: aBoolean
+
+ (HtmlReadWriter on: aStream)
+ breakLines: aBoolean;
+ nextPutText: self.!