The Trunk: Collections-mt.708.mcz

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

The Trunk: Collections-mt.708.mcz

commits-2
Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.708.mcz

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

Name: Collections-mt.708
Author: mt
Time: 12 August 2016, 1:31:36.259343 pm
UUID: cdf7485c-7680-c04f-8808-5b3c84619133
Ancestors: Collections-mt.707

When analyzing the input string to add a text url, give the user a chance to verify and correct the result. (Use to update help texts for the release.)

=============== Diff against Collections-mt.707 ===============

Item was changed:
  ----- Method: TextURL>>analyze: (in category 'as yet unclassified') -----
  analyze: aString
 
  | list |
  list := super analyze: aString.
+
+ (UIManager default request: 'URL to open' translated initialAnswer: (list at: 1))
+ in: [:answer | answer ifEmpty: [url := list at: 1] ifNotEmpty: [url := answer]].
+
- url := list at: 1.
  ^ list at: 2!