Pretty cool!
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 3, 2017, at 8:54 PM, Tudor Girba
<tudor(a)tudorgirba.com> wrote:
Hi,
We are happy to announce that the moldable editor helped us create a richer transcript:
GT Transcript.
The transcript is traditionally a stream of plain text. As we now have an elaborate
editor, we can take advantage of it to help us display richer representations.
The API is backward compatible with the existing transcript. To enable the new features,
we introduced a builder. For example:
transcript nextPutAll: ‘something’
becomes
transcript next putAll: ‘something’
and after #next we can add multiple attributes that we want to affect the following
insertion of a text.
Below you can find an example detailing most of the API. The most notable additions is
the support for expandable adornments. For example, #showException: provides an in-place
expansion of the stack of the exception context.
<transcript-api.png>
To get an idea of how this tool can be useful, take a look at the following video showing
the visual logging of a Bloc animation:
https://youtu.be/9VATYNaLwJY
<transcript-animation.png>
The code can be found in the new incarnation of GToolkit:
Iceberg enableMetacelloIntegration: true.
Metacello new
baseline: 'GToolkit';
repository: 'github://feenkcom/gtoolkit/src';
load.
Cheers,
The feenk team
--
www.tudorgirba.com
www.feenk.com
“Software has no shape. Actually, it has no one shape. It has many."