Hmmm. Why does it need/only work on FileReference?

I tried putting��

gtInspectorPillarRepresentationIn: composite
<gtInspectorPresentationOrder: 40>
^ composite custom: (GLMRubricHighlightedTextPresentation new
title: 'Pillar';
editingMode: [ : rubPresentation |
GLMHighlighterTextRubEditingMode withStylerDecorator: (
GTPillarHighlighterTextDecorator��
inPresentation: rubPresentation)];
display: [ (PRPillarWriter write: self) ])


in��PRDocumentItem

but then��GTPillarFileHighlightingCommand>>executeOn: aText inPresentation: aPresentation relativeToFileReference: aFileReference
| attribute targetFileReference |
targetFileReference := aFileReference parent resolveString: (self fileName removePrefix: 'file://').


causes error cos it didn't get a FileReference





On 9 October 2016 at 22:23, Tudor Girba <tudor@tudorgirba.com> wrote:
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:


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."


_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev