Hi,
On Oct 10, 2016, at 8:48 AM, stepharo <stepharo@free.fr> wrote:
Doru do you think that we could get a simple visitor that could create a preview in Pharo?
What kind of preview?
One of the things I would like is:
- minimal package for a pillar core so that we can display class comment using pillar
You already have a showcase for this if you inspect a Class. We should integrate it next in the comment pane of Nautilus.
- a nice looking set of fonts
Do you mean fonts for editing, or for rendering? For the editing part, I used the fonts that we have in Pharo because they are part of the same family and they work reasonably well together. We still have an issue in Rubric in that the cursor is not updated when the font changes (for example, when we switch the font from regular to monospace). I do not know how to fix that yet, and it would be great if someone else would help on that. Cheers, Doru
Stef
Le 9/10/16 à 23:23, Tudor Girba a écrit :
Hi,
Pillar now ships with a text editor that also features a syntax highlighter.
So, now, if you load the development version of Pillar:
Gofer new smalltalkhubUser: 'Pier' project: 'Pillar'; configuration; loadDevelopment.
You will have an extra presentation when inspecting a .pillar file:
<Mail Attachment.png>
The new thing here is that the highlighter is based on the Pillar PetitParser, and it is extensible for highlighting more parts if needed. The highlighting also can support actions. For example, the picture above shows the file to the right after clicking on the reference.
Please take a look and let me know what you think.
Cheers, Doru
-- www.tudorgirba.com www.feenk.com
"Things happen when they happen, not when you talk about them happening."
-- www.tudorgirba.com www.feenk.com "Value is always contextual."