TextConstants in 2.1

Maloney johnm at wdi.disney.com
Thu Jul 2 15:20:28 UTC 1998

>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

More information about the Squeak-dev mailing list