Interface change suggestion - PrettyPrinting

Mark Guzdial guzdial at cc.gatech.edu
Wed Dec 9 16:20:48 UTC 1998


Yesterday, I was working on a method that had too many nested
ifTrue/ifFalses.  I was having a hard time making sense of the mess, when
it occured to me, "Pretty print it!  That'll make it cleaner to see what
matches what!"  So I did -- and all of my changes disappeared. I hadn't
accepted first, and PrettyPrint works from the accepted method. And
PrettyPrint is not un-doable.

I don't know how to implement this, but I think that PrettyPrint should (a)
refuse to pretty print changed text or (b) support undo.

Mark

--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial at cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html





More information about the Squeak-dev mailing list