Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-07-02 Thread Hilaire
Thanks Andrei for the tips! After adaptation, I have this script browser. I will look to improve it a bit more with menu and syntax colouring. The wrapper part of your solution reads like Chinese to me. May be I am miss using Glamour, and I will be happy to read about suggestions for better use.

Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-07-01 Thread Andrei Chis
Hi, If I understood the issue correctly then the script below should address it. It starts from the solution Juraj proposed but wraps each presentation in a wrapper. The script is not that obvious as this is not really a use case glamour supports out of the box. Also in glamour multiple presentat

Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-07-01 Thread Juraj Kubelka
Hi, I am able to produce this: -=-=-=- browser := GLMTabulator new column: #one; column: #two; column: #three; yourself. browser transmit to: #one; andShow: [ :composite | composite fastList ]. browser transmit from: #one; to: #two; andShow: [ :c

Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-07-01 Thread Nicolai Hess
2017-06-30 9:55 GMT+02:00 Hilaire : > I extended the browser definition with: > > browser transmit > from: #scripts; > from: #categories; > to: #methods; > when: [ :a :b | a isMeta not ]; > andShow: [:a | self methodsIn: a ]. > browser transmit >

Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-06-30 Thread Hilaire
I extended the browser definition with: browser transmit from: #scripts; from: #categories; to: #methods; when: [ :a :b | a isMeta not ]; andShow: [:a | self methodsIn: a ]. browser transmit from: #scripts; from: #categories;

[Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-06-29 Thread Hilaire
Hi, I try to build a dedicated browser for user scripting on DrGeo. I am learning from the Deep into Pharo Glamour chapter, extending the given example. Regarding the method category pane, I need both instance and class side, so I write it like this: categoriesIn: constructor constructor list