Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-22 Thread Christophe Demarey
Le 22 sept. 2015 à 07:49, philippe.b...@highoctane.be a écrit : > > Le 22 sept. 2015 07:40, "Sven Van Caekenberghe" a écrit : > > > > > > > On 21 Sep 2015, at 23:53, stepharo wrote: > > > > > > I think that having metadata (style) language and data (source

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-22 Thread Sven Van Caekenberghe
> On 22 Sep 2015, at 08:47, Christophe Demarey > wrote: > > > Le 22 sept. 2015 à 07:49, philippe.b...@highoctane.be a écrit : > >> >> Le 22 sept. 2015 07:40, "Sven Van Caekenberghe" a écrit : >> > >> > >> > > On 21 Sep 2015, at 23:53, stepharo

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-22 Thread Tudor Girba
Hi, I think that having Pillar in comments is definitely the way to go. In: http://www.humane-assessment.com/blog/writing-pillar-books-with-the-gtinspector I show also an extension that renders comments with PIllar highlighting. This is working now in an inspector, but the same principle can be

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-22 Thread Thierry Goubier
2015-09-22 9:10 GMT+02:00 Sven Van Caekenberghe : > > > On 22 Sep 2015, at 08:47, Christophe Demarey < > christophe.dema...@inria.fr> wrote: > > > > > > Le 22 sept. 2015 à 07:49, philippe.b...@highoctane.be a écrit : > > > >> > >> Le 22 sept. 2015 07:40, "Sven Van Caekenberghe"

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-22 Thread p...@highoctane.be
On Tue, Sep 22, 2015 at 9:13 AM, Tudor Girba wrote: > Hi, > > I think that having Pillar in comments is definitely the way to go. > > In: > > http://www.humane-assessment.com/blog/writing-pillar-books-with-the-gtinspector > > I show also an extension that renders comments

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-21 Thread Eliot Miranda
Hi Stef, > On Sep 21, 2015, at 2:53 PM, stepharo wrote: > > I think that having metadata (style) language and data (source code) mixed > together is a bad idea. > I never like the ]lang[ tag because it is a huge hack. It does not even exist > in the Smalltalk syntax!!! > We

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-21 Thread Craig Latta
(autocorrect-unmangled version... ;) Eliot writes: > ...I was pragmatic and made sure Cog supported the existing > requirements, not some platonic ideal. I wish you would adopt as a > principle that functionality be retained as you are cleaning up > Pharo. Instead I see useful

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-21 Thread philippe.b...@highoctane.be
Le 22 sept. 2015 07:40, "Sven Van Caekenberghe" a écrit : > > > > On 21 Sep 2015, at 23:53, stepharo wrote: > > > > I think that having metadata (style) language and data (source code) mixed together is a bad idea. > > I never like the ]lang[ tag because it is a

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-21 Thread Sven Van Caekenberghe
> On 21 Sep 2015, at 23:53, stepharo wrote: > > I think that having metadata (style) language and data (source code) mixed > together is a bad idea. > I never like the ]lang[ tag because it is a huge hack. It does not even exist > in the Smalltalk syntax!!! > We save code

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-21 Thread stepharo
I think that having metadata (style) language and data (source code) mixed together is a bad idea. I never like the ]lang[ tag because it is a huge hack. It does not even exist in the Smalltalk syntax!!! We save code that the parser cannot parse. What we fun idea. So people are bashing for

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-14 Thread Martin Dias
On Tue, Sep 8, 2015 at 12:29 PM, Henrik Johansen wrote: > >> On 08 Sep 2015, at 11:03 , Martin Dias wrote: >> >> On Sat, Sep 5, 2015 at 1:10 PM, Nicolai Hess wrote: >>> The same for the ]lang[ tag (see issue 15750) >> >>

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-08 Thread Eliot Miranda
Hi Martin, Sent from my iPhone > On Sep 5, 2015, at 3:06 AM, Martin Dias wrote: > > Hi all > >> On Sat, Sep 5, 2015 at 3:44 AM, Ben Coman wrote: >>> On Sat, Sep 5, 2015 at 4:43 AM, Eliot Miranda >>> wrote: >>> >>> On Sep

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-08 Thread Martin Dias
On Sat, Sep 5, 2015 at 1:10 PM, Nicolai Hess wrote: > The same for the ]lang[ tag (see issue 15750) Ok. But I still don't know how to add a url to a method's source code or comment from the UI. I mean, people with a non-English keyboard can produce source code with ]lang[,

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-08 Thread Nicolai Hess
2015-09-08 11:03 GMT+02:00 Martin Dias : > On Sat, Sep 5, 2015 at 1:10 PM, Nicolai Hess wrote: > > The same for the ]lang[ tag (see issue 15750) > > Ok. But I still don't know how to add a url to a method's source code > or comment from the UI. > > I

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-08 Thread Henrik Johansen
> On 08 Sep 2015, at 11:03 , Martin Dias wrote: > > On Sat, Sep 5, 2015 at 1:10 PM, Nicolai Hess wrote: >> The same for the ]lang[ tag (see issue 15750) > > Ok. But I still don't know how to add a url to a method's source code > or comment from the

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-05 Thread Nicolai Hess
The same for the ]lang[ tag (see issue 15750) 2015-09-05 12:06 GMT+02:00 Martin Dias : > Hi all > > On Sat, Sep 5, 2015 at 3:44 AM, Ben Coman wrote: > > On Sat, Sep 5, 2015 at 4:43 AM, Eliot Miranda > wrote: > >> > >> On Sep

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-05 Thread Martin Dias
Hi all On Sat, Sep 5, 2015 at 3:44 AM, Ben Coman wrote: > On Sat, Sep 5, 2015 at 4:43 AM, Eliot Miranda wrote: >> >> On Sep 4, 2015, at 1:33 PM, stepharo wrote: >> >> Nobody defines urls in method comment anymore. >> >> I do.

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-04 Thread Eliot Miranda
Hi Martin, On Fri, Sep 4, 2015 at 8:13 AM, Martin Dias wrote: > Hi all, > > The source code of a method could be a Text, with TextAttributes. In such > case, it will be written down to a stream with a "]style[" suffix. Through > a special parsing, the system can

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-04 Thread stepharo
eliot Nobody defines urls in method comment anymore. In addition would prefer to have an explicit syntax as in Pillar or html to represent an hyperlink. We could have *Class>>#method* when pillar is not loaded and else a nicer representation. ctrl-click on a class should jump on it

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-04 Thread Eliot Miranda
Sent from my iPhone > On Sep 4, 2015, at 1:33 PM, stepharo wrote: > > eliot > > Nobody defines urls in method comment anymore. I do. Several places in the Cog JIT contain irks to specification documents. I don't care how its implemented (providing it's preserved in

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-04 Thread Nicolai Hess
2015-09-04 21:27 GMT+02:00 Eliot Miranda : > Hi Martin, > > On Fri, Sep 4, 2015 at 8:13 AM, Martin Dias wrote: > >> Hi all, >> >> The source code of a method could be a Text, with TextAttributes. In such >> case, it will be written down to a stream

Re: [Pharo-dev] TextAttributes in source code or class comment?

2015-09-04 Thread Ben Coman
On Sat, Sep 5, 2015 at 4:43 AM, Eliot Miranda wrote: > > On Sep 4, 2015, at 1:33 PM, stepharo wrote: > > Nobody defines urls in method comment anymore. > > I do. Several places in the Cog JIT contain irks to specification > documents. I don't care how