I updated the Pillar support in GTInspector. Some of the extensions already exist in the default Pillar #development version. If you want to play with the full support, you can load it like this:
smalltalkhubUser: 'Moose' project: 'PetitParser';
smalltalkhubUser: 'Moose' project: 'GToolkit';
Then you can just inspect a book folder and you get this:
I did not integrate this in the main Pillar yet because this is an older implementation based on a limited island parser. As now Pillar has a full parser based on PetitParser, the next step is to move the highlighting logic to use this parser instead of the island parser. From my measurements, the speed of the two parsers is about the same, so from a user perspective there will be not much changes.
It pains me that we are editing Pillar in outside tools, and now we should no longer have to do that. Of course, this is not the most ideal tool support for Pillar but I think it is a reasonable start.
To make things sadder: when I need to write some short “richish" I’m using markdown instead for pillar because in ATOM I can open the rendered version of my document that will update while i type (and will display images and so on). It could be nice to have the same functionality in Pharo, but I’m really busy with improving other parts. Additionally I’m not sure that it makes sense to reimplement rich text editor in Pharo.
Moose-dev mailing listMooseemail@example.com