Another minor observation on 2.1:
TextConstants includes CrLf and CrLfCrLf, which is nice :-) Text>initialize however does not set these up - maybe they just crept in via my miscChanges.st.
So what is the official content of TextConstants ? Whatever shipped in the distribution image or the result of doing Text>initialize on an empty dictionary ?
Georg
---- Dipl.Ing. Georg Gollmann TU-Wien, EDV-Zentrum
phon:(+43-1) 58801 - 5848 fax: (+43-1) 587 42 11 mail:gollmann@edvz.tuwien.ac.at http://macos.tuwien.ac.at/Gollmann.html
TextConstants includes CrLf and CrLfCrLf, which is nice :-) Text>initialize however does not set these up - maybe they just crept in via my miscChanges.st.
So what is the official content of TextConstants ? Whatever shipped in the distribution image or the result of doing Text>initialize on an empty dictionary ?
We have actually considered getting rid of TextConstants entirely, prior to eliminating pool variables from Squeak. The really useful constants would be turned into messages sent to class Character or class String. If we do this, we'll want to know the minimum set of of constants in actual use.
So, to answer your question, I think that the "official content" is, by default, whatever ships in the distribution image, but I am in favor of making Text>initialize be the official content and, incidentally, pruning out as much clutter as possible.
-- John
squeak-dev@lists.squeakfoundation.org