Cool, "present" is a start. But how do I use it? In Pharo 10508, I executed: RBConfigurableFormatter stringFollowingReturn: '' "<--- String empty" and then tried the "format" option in a method that has "^ something", but it did not remove the extra space. In fact, I'm not sure it even tried to format anything; I didn't have time to debug it. In any case, if Pharo is using RB for formatting then separate solutions for Squeak and Pharo may be necessary after-all.. :( On Thu, Mar 4, 2010 at 3:18 PM, Lukas Renggli <renggli@gmail.com> wrote:
So how does that sound? Â Just dispatching portions of the various "printing" methods in subclasses of ParseNode to a Printer that allows individual preferences to be specified?
This thing is called RBConfigurableFormatter and it has been present for the last decade.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project