[GOODIE] Multiple line printing in inspectors

Leandro Caniglia caniglia at dm.uba.ar
Wed Jan 2 20:46:32 UTC 2002


>From preamble:

Change Set:		fullPrintOnInspector
Date:			28 December 2001
Author:			Leandro Caniglia

Allows objects to be printed using several lines when seen
from inspectors.

Rationale.
While it isn't a good idea to embed CR characters in
printOn: methods, some objects require multiple lines to
show a meaningful description of themselves. Since
inspectors provide a whole panel to display such
descriptions, there is no reason to use a one-line string
with them. This change set replaces the use of printOn: in
inspectors with the fullPrintOn: message. An example is
given in PopUpMenu.fullPrintOn:.

/Leandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fullPrintOnInspector.2.cs.gz
Type: application/x-gzip
Size: 1084 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020102/4d9b170b/fullPrintOnInspector.2.cs.bin


More information about the Squeak-dev mailing list