Hello Doru
On 8/26/17, Tudor Girba <[hidden email]> wrote: > Hi, > > Just for information: Pillar already ships with a live editor with syntax > highlighting that I built a couple of years ago. Thank you for this information, Doru. Earlier this week I was looking for a "Pillar tool" in Pharo 6 and was told, that there is none. I did not find a link in the help system nor a menu entry in the world menu. How do I get at this live editor? > And there are two inspector presentations available: > - If you inspect a class, you will get a Pillar comment presentation with > syntax highlighting > - If you inspect a .pillar file, you will get a Pillar editor with syntax > highlighting > > Cheers, > Doru > Regards Hannes |
In an image having Pillar, inspect a Pillar file. Something like this:
‘path/to/file.pillar' asFileReference Cheers, Doru > On Aug 26, 2017, at 9:56 AM, H. Hirzel <[hidden email]> wrote: > > Hello Doru > > On 8/26/17, Tudor Girba <[hidden email]> wrote: >> Hi, >> >> Just for information: Pillar already ships with a live editor with syntax >> highlighting that I built a couple of years ago. > > Thank you for this information, Doru. > > Earlier this week I was looking for a "Pillar tool" in Pharo 6 and was > told, that there is none. > I did not find a link in the help system nor a menu entry in the world menu. > > How do I get at this live editor? > >> And there are two inspector presentations available: >> - If you inspect a class, you will get a Pillar comment presentation with >> syntax highlighting >> - If you inspect a .pillar file, you will get a Pillar editor with syntax >> highlighting >> >> Cheers, >> Doru >> > > > Regards > Hannes -- www.tudorgirba.com www.feenk.com "Quality cannot be an afterthought." |
I downloaded a 6.1 image, loaded pillar from catalog and inspected 'foo.pillar' asFileReference and I get Looks like there are additional steps needed. Norbert
|
On 8/28/17, Norbert Hartl <[hidden email]> wrote:
> >> Am 26.08.2017 um 12:56 schrieb Tudor Girba <[hidden email]>: >> >> In an image having Pillar, inspect a Pillar file. Something like this: >> >> ‘path/to/file.pillar' asFileReference >> > I downloaded a 6.1 image, loaded pillar from catalog and inspected > > 'foo.pillar' asFileReference > > and I get > > > Looks like there are additional steps needed. > > Norbert > If I do PRPillarParser parse: 'myExample.pillar' asFileReference contents I get a nice display of the Pillar Document Object Model and the results after using different exporter objects (HTML, DeckJS, Markdown, AsciiDoc, Beamer, LaTeX) But no Pillar editor. --Hannes Pillar_aPRDocument_inspect_Screenshot_2017-08-29.png (96K) Download Attachment |
I did not know it :) so this is cool.
Today we improved the makefile logic and I'm about to finish a hack to give the possibility to the makefile to be fully generic. After I will finally look at Luc makefile generator because we want to move more logic to Pharo. Stef On Tue, Aug 29, 2017 at 2:20 PM, H. Hirzel <[hidden email]> wrote: > On 8/28/17, Norbert Hartl <[hidden email]> wrote: >> >>> Am 26.08.2017 um 12:56 schrieb Tudor Girba <[hidden email]>: >>> >>> In an image having Pillar, inspect a Pillar file. Something like this: >>> >>> ‘path/to/file.pillar' asFileReference >>> >> I downloaded a 6.1 image, loaded pillar from catalog and inspected >> >> 'foo.pillar' asFileReference >> >> and I get >> > > The same result here. > >> >> Looks like there are additional steps needed. >> >> Norbert >> > > > If I do > > > PRPillarParser parse: > 'myExample.pillar' asFileReference contents > > > I get a nice display of the Pillar Document Object Model and the > results after using different exporter objects (HTML, DeckJS, > Markdown, AsciiDoc, Beamer, LaTeX) > > But no Pillar editor. > > --Hannes |
Hi,
I did not check what is in the Catalog, but you can load the #stable version through Metacello like this: Metacello new smalltalkhubUser: 'Pier' project: 'Pillar'; configuration: 'Pillar'; version: #stable; load. If you inspect a .pillar or .pier file and you get something as seen below. In this specific case, I clicked on the picture reference (the one with magenta) and I got the preview to the right. Cheers, Doru On Aug 29, 2017, at 10:31 PM, Stephane Ducasse <[hidden email]> wrote: -- www.tudorgirba.com www.feenk.com "There are no old things, there are only old ways of looking at them." |
Works pretty well! See the screen below. Now I'm pretty short on time, but I wonder how to make the Contents tab, the default view for markup nodes in Grafoscopio and how to enable autosaving when an edit is done in such tab. Cheers, Offray On 29/08/17 15:59, Tudor Girba wrote:
Hi, |
On 8/30/17, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
> Works pretty well! See the screen below. Confirmation that it works well. First it did not but in a pristine image done with curl get.pharo.org | bash (Ubuntu 14.04) then in a Pharo playground Metacello new smalltalkhubUser: 'Pier' project: 'Pillar'; configuration: 'Pillar'; version: #stable; load. The Pillar editor works fine, see screen shot. Many thanks to Doru for the info about the Pillar installation invocation! (Not sure about the status of the Pillar Pharo 6 catalog entry, two weeks ago the Pillar editor did not work). --Hannes Pharo6.1_with_Pillar_stable_showing_the_editor_Screenshot_2017-08-31.png (138K) Download Attachment |
Free forum by Nabble | Edit this page |