Per a recent thread, I added #display: aBlock to MAElementDescription, so you
can now say e.g.
display: [ :e | e basename ];
I tried not to subvert the design of Magritte, but had to dig pretty deep to
find a place where the right objects were able to communicate.
MAStringWriter>>#visitStringDescription: sends #displayStringFor: to the
description to convert the object into a string. The default is still to
send it #greaseString.
If someone could load the bleeding edge packages and review the design I'd
appreciate it. It's worked so far in my projects and with some hand testing.
View this message in context: http://forum.world.st/Code-Review-Request-tp4711242.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com