There are two presentations (tabs): - ‘Contents' shows the plain file - ‘Pillar’ shows the syntax highlighting.
Can you check? Doru > On Nov 14, 2017, at 9:57 PM, Offray Vladimir Luna Cárdenas > <offray.l...@mutabit.com> wrote: > > Thanks Doru, > > Installation works, but syntax hightligthning and image preview are > disabled. I don't know if this is because is the same image with the > installation of GT Documenter, installed. > > Cheers, > > Offray > > > On 14/11/17 12:15, Tudor Girba wrote: >> Hi, >> >> Please retry again by loading the #development version in Pharo 6.1: >> >> Gofer new >> smalltalkhubUser: 'Pier' project: 'Pillar'; >> configuration; >> loadDevelopment. >> >> You should get the extension out of the box. >> >> Please let me know if it works. >> >> Cheers, >> Doru >> >> >>> On Nov 14, 2017, at 5:55 PM, Offray Vladimir Luna Cárdenas >>> <offray.l...@mutabit.com> wrote: >>> >>> Hi, >>> >>> A suggestion from one year ago. Should be this converted into issues? >>> >>> Cheers, >>> >>> Offray >>> >>> On 10/10/16 13:26, Offray Vladimir Luna Cárdenas wrote: >>>> Hi Doru, >>>> >>>> I was exploring Stephan Eggermont's code Panel because the zooming in/out >>>> behavior implemented there, but I would like to add your Pillar text >>>> editor to the exploration. >>>> I would like to add two things: >>>> >>>> 1. Font decrease/increase buttons/shorcuts, because for long documents, >>>> default font size can be tiresome. >>>> >>>> 2. Augmenting the amount of syntax highlighting languages, starting with >>>> markdown. I think that this would be strategic in making writing inside >>>> the image, more appealing, giving the spread of markdown as a >>>> documentation syntax in different context (GitHub, Scholar markdown, >>>> wikis, discussion, Slack clones, etc). >>>> I installed the extension today on a Pharo 5 system, but trying to use it, >>>> bring me the error detailed at the end of this mail, so after having it >>>> working on Pharo, I would like to explore/help in implementing items 1 and >>>> 2, avove. >>>> >>>> Cheers, >>>> >>>> Offray >>>> >>>> Error report >>>> =========== >>>> Author: OffrayLuna >>>> >>>> Array(Object)>>shouldNotImplement >>>> Array(ArrayedCollection)>>add: >>>> [ :each | self add: each ] in Array(Collection)>>addAll: >>>> Array(SequenceableCollection)>>do: >>>> Array(Collection)>>addAll: >>>> [ :array | >>>> ({array first} >>>> addAll: array last; >>>> yourself) >>>> collect: [ :each | >>>> ('' join: each first) >>>> -> (each second ifNotNil: [ :second | '' join: second ]) ] ] in >>>> GTPillarHighlighter>>scriptParameters >>>> PPActionParser>>parseOn: >>>> PPDelegateParser>>parseOn: >>>> PPSequenceParser>>parseOn: >>>> PPActionParser>>parseOn: >>>> PPDelegateParser>>parseOn: >>>> PPChoiceParser>>parseOn: >>>> PPDelegateParser>>parseOn: >>>> PPChoiceParser>>parseOn: >>>> PPPossessiveRepeatingParser>>parseOn: >>>> PPDelegateParser>>parseOn: >>>> PPEndOfInputParser>>parseOn: >>>> GTPillarHighlighter(PPDelegateParser)>>parseOn: >>>> GTPillarHighlighter(PPParser)>>parseWithContext: >>>> GTPillarHighlighter(PPParser)>>parse:withContext: >>>> GTPillarHighlighter(PPParser)>>parse: >>>> GTPillarHighlighterTextDecorator>>parse:onError: >>>> GLMHighlighterTextParserStyler>>privateStyle: >>>> [ self privateStyle: text. >>>> view ifNotNil: [ view stylerStyledInBackground: text ] ] in [ >>>> backgroundProcess := [ self privateStyle: text. >>>> view ifNotNil: [ view stylerStyledInBackground: text ] ] >>>> forkAt: Processor userBackgroundPriority ] in >>>> GLMHighlighterTextParserStyler(SHTextStyler)>>styleInBackgroundProcess: >>>> [ self value. >>>> Processor terminateActive ] in BlockClosure>>newProcess >>>> =============== >>>> >>>> On 09/10/16 16:23, Tudor Girba 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: >>>>> >>>>> <gjkebecengkghnjk.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 >> >> "We are all great at making mistakes." >> >> >> >> >> >> >> >> >> >> > > -- www.tudorgirba.com www.feenk.com "Every now and then stop and ask yourself if the war you're fighting is the right one."