[GOODIE] BlockContext-fullPrintOn

Doug Way dway at riskmetrics.com
Mon Jan 7 04:33:29 UTC 2002


Leandro Caniglia wrote:
> 
> This change set implements the BlockContext>>fullPrintOn:
> method. It is specially useful when combined with the
> fullPrintOnInspector GOODIE, that replaces the use of
> printString in inspectors with that of fullPrintString.

This is very cool!  I was thinking the other day that it would be nice for BlockContexts to actually display their (decompiled) source code when inspecting/debugging them. (now I can actually see what a sortBlock is doing, for example)

At first I was wondering if the fullPrintOn: scheme was really necessary to support this, but it does make some sense... a larger block of source code becomes tough to read when it's bunched together into one line.

- Doug Way
  dway at riskmetrics.com




More information about the Squeak-dev mailing list