Re: [Pharo-dev] Spotlight Demo

2014-01-10 Thread Sean P. DeNigris
BTW I want to let you know that I love the insensitive search Glad you're enjoying it :) - Cheers, Sean -- View this message in context: http://forum.world.st/Spotlight-Demo-tp4733076p4735784.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Re: [Pharo-dev] Spotlight Demo

2014-01-10 Thread Sebastian Sastre
LOL Igor I can see what you are doing there hug and go Sean go, give us that spotlight! o/ On Jan 10, 2014, at 5:01 PM, Igor Stasenko siguc...@gmail.com wrote: [troll mode on] .. and why there's no 'are you sure you wanna open search widget' dialog before you opening it and 'are you

Re: [Pharo-dev] Spotlight Demo

2014-01-09 Thread Sebastian Sastre
BTW I want to let you know that I love the insensitive search It makes it so much valuable (by reducing assumptions on how much the user should know apriori) I'ts a nice little bit of the OS X experience bring to the smalltalk image fantastic On Dec 30, 2013, at 12:23 PM, Sean DeNigris

Re: [Pharo-dev] Spotlight Demo

2014-01-08 Thread Tudor Girba
Exciting! Doru On Wed, Jan 8, 2014 at 7:10 AM, Sean P. DeNigris s...@clipperadams.comwrote: Tudor Girba-2 wrote Seriously, this is fun. And now I am curious about the ActiveTutor :). Is the idea to provide contextual help for every morph? Ha ha, you caught me. I wasn't going to

Re: [Pharo-dev] Spotlight Demo

2014-01-08 Thread Sean P. DeNigris
Tudor Girba-2 wrote I added the categories now. What version of the original Spotlight package did you port, so I can merge my changes... - Cheers, Sean -- View this message in context: http://forum.world.st/Spotlight-Demo-tp4733076p4735281.html Sent from the Pharo Smalltalk Developers

Re: [Pharo-dev] Spotlight Demo

2014-01-08 Thread Tudor Girba
I started at Spotlight-SeanDeNigris.25, and then I added some more code about the themer, so, it is Spotlight-TudorGirba.27 from: Gofer new smalltalkhubUser: 'girba' project: 'GPlay'; package: 'Spotlight'; disablePackageCache; load Doru On Wed, Jan 8, 2014 at 11:13 PM, Sean P. DeNigris

Re: [Pharo-dev] Spotlight Demo

2014-01-08 Thread Sean P. DeNigris
Sean P. DeNigris wrote Merged. The project depends on ActiveTutor now I fixed the dependencies and committed a new configuration - Cheers, Sean -- View this message in context: http://forum.world.st/Spotlight-Demo-tp4733076p4735304.html Sent from the Pharo Smalltalk Developers mailing

Re: [Pharo-dev] Spotlight Demo

2014-01-08 Thread Tudor Girba
Excellent. I will take a look in the coming today or tomorrow. Doru On Thu, Jan 9, 2014 at 5:22 AM, Sean P. DeNigris s...@clipperadams.comwrote: Sean P. DeNigris wrote Merged. The project depends on ActiveTutor now I fixed the dependencies and committed a new configuration -

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Esteban Lorenzano
for me, that’s the new spotlight, and should replace the old one (in Pharo 4)… so +1 for “Spotlight2” :) On 07 Jan 2014, at 04:32, Sean P. DeNigris s...@clipperadams.com wrote: Tudor Girba-2 wrote First, would it be Ok with you to move the project to a more public place Great, whereever

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Tudor Girba
Ok. I am renaming it and will publish it in PharoExtras. Doru On Tue, Jan 7, 2014 at 9:59 AM, Esteban Lorenzano esteba...@gmail.comwrote: for me, that’s the new spotlight, and should replace the old one (in Pharo 4)… so +1 for “Spotlight2” :) On 07 Jan 2014, at 04:32, Sean P. DeNigris

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Esteban Lorenzano
I’m experimenting with separate the widget from the skin… problem is sometimes theming is just change colors, but some others is widget building it self, so we will need widget factories (for theme), etc. all is doable, but all implies time :) On 07 Jan 2014, at 11:07, Stéphane Ducasse

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Guillermo Polito
Maybe widgets should delegate to the theme the rendering? So Morph subclass: Widget. So this applies only for widget morphs? Widget subclass: List. List drawOn: aCanvas self theme drawList: self onCanvas: aCanvas And then each theme can really render different each widget. On Tue, Jan

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Esteban A. Maringolo
2014/1/7 Guillermo Polito guillermopol...@gmail.com: Maybe widgets should delegate to the theme the rendering? That's what I proposed a few mails ago to Stef. But you'll end up with a parallel hierarchy for each theme, with a class for each widget rendered. It is better than having everything

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Sean P. DeNigris
Tudor Girba-2 wrote I added the categories now. Ugh, you're too fast ;) I already had made several commits to the old package. I'll try to merge into the new one… Thanks for all the help!! - Cheers, Sean -- View this message in context:

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Tudor Girba
No. Thank you for the great contribution :). Seriously, this is fun. And now I am curious about the ActiveTutor :). Is the idea to provide contextual help for every morph? Cheers, Doru On Tue, Jan 7, 2014 at 11:12 PM, Sean P. DeNigris s...@clipperadams.comwrote: Tudor Girba-2 wrote I

Re: [Pharo-dev] Spotlight Demo

2014-01-07 Thread Sean P. DeNigris
Tudor Girba-2 wrote Seriously, this is fun. And now I am curious about the ActiveTutor :). Is the idea to provide contextual help for every morph? Ha ha, you caught me. I wasn't going to mention it until it was further along, but here's a first cut... https://vimeo.com/83655001 (the video will

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
Doru do you have a sketch (UML) to see how it works? Because indeed having a pattern for the theme is definitively important and I’m sad that the same trick as the settings do not work for theme. Stef On 06 Jan 2014, at 00:19, Tudor Girba tu...@tudorgirba.com wrote: Hi again, I added a

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
I will read it. I do not like the UITheme. I was more interested by the pattern. Stef On 06 Jan 2014, at 10:59, Stéphane Ducasse stephane.duca...@inria.fr wrote: Doru do you have a sketch (UML) to see how it works? Because indeed having a pattern for the theme is definitively important

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
I tried in latest 3.0 the example and I get a DNU error: 'Some code is setting text attributes length not matching the string size']. when I remove character. stef On 06 Jan 2014, at 00:19, Tudor Girba tu...@tudorgirba.com wrote: Hi again, I added a first shot at theming. The idea is

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Tudor Girba
Hi, I am not sure I understand. You tried to load Spotlight? And you got the error in Spotlight, or in any text? Cheers, Doru On Mon, Jan 6, 2014 at 4:47 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: I tried in latest 3.0 the example and I get a DNU error: 'Some code is setting

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
On 06 Jan 2014, at 17:24, Tudor Girba tu...@tudorgirba.com wrote: Hi, I am not sure I understand. You tried to load Spotlight? And you got the error in Spotlight, or in any text? sorry I had to run to catch a kid I did: Gofer new smalltalkhubUser: 'girba' project: 'GPlay';

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
Ok I read UITheme would act as a theme factory. and each widget delegate to the Themer associated to themselve and the current theme So subclasse of UITheme can propose different themer for the same widget. Now since the themer is a separate class (from the morph it means that you must have

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Esteban A. Maringolo
Theming should be orthogonal to the widget, so subclassing isn't an option. But making it so isn't trivial either. However, instead of subclassing, each widget might have a theme, to which it could delegate it's rendering, or fallback to the default theme in case no custom theming has been

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Sebastian Sastre
On Jan 6, 2014, at 3:40 PM, Esteban A. Maringolo emaring...@gmail.com wrote: However, I favor descriptive theming (like CSS) rather than programmed theming (like the actual). this raises an interesting point and hard questions: if themes are programmed instead of easily described... Aren't

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Tudor Girba
Hi Stef, On Mon, Jan 6, 2014 at 5:54 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: Ok I read UITheme would act as a theme factory. and each widget delegate to the Themer associated to themselve and the current theme So subclasse of UITheme can propose different themer for the

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Sean P. DeNigris
Stéphane Ducasse wrote then type string and remove character by chracter and the last one crashes completely the system Thanks! Spotlight-SeanDeNigris.25 Fixed error when last character removed from text field e.g. by backspace. Thanks for Steph for the report. - Cheers, Sean -- View

Re: [Pharo-dev] Spotlight Demo

2014-01-05 Thread Tudor Girba
Hi Sean, I just tested it. It works just great. First, would it be Ok with you to move the project to a more public place (like http://www.smalltalkhub.com/#!/~PharoExtras) so that others can contribute easier? Second, I created a configuration with a development and stable version. You can

Re: [Pharo-dev] Spotlight Demo

2014-01-05 Thread Tudor Girba
Hi again, I added a first shot at theming. The idea is simple: - we have one method in UITheme called spotterThemer that simply returns a SpotterThemer, and - all Spotter/Spotlight specific rendering methods are in SpotterThemer I think this should be the design to follow for all morphs. I

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Stéphane Ducasse
I want this widget :) and behavior On 04 Jan 2014, at 02:53, Sean P. DeNigris s...@clipperadams.com wrote: I love the item count - thanks. I saw the double jump too, but the cause wasn't obvious. And I see what you mean about the arrows; I'll look into it. I'm really enjoying the

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Tudor Girba
Hi Sean, I enjoy the collaboration, too. It is really nice to have this energy invested in making cool widgets. We would need more of this :). I will try to look into the remaining issues, too. Let's continue synchronize over this thread. Cheers, Doru On Sat, Jan 4, 2014 at 2:53 AM, Sean P.

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Sean P. DeNigris
Tudor Girba-2 wrote now, we have another problem: going with up/down jumps over one items (so, you can only reach 1, 3, 5 …) … - Pressing up/down also moves the cursor in the top PluggableTextMorph. This should not happen. Both were actually the same bug. I was not returning true to

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Sean P. DeNigris
I'm happy for now. As a general purpose completion option, I'd say we're officially at version 1.0. No obvious bugs, and provides the basic features I'd want. As for replacing the existing Spotlight, I've decided to eat my own dog food and use the new tool in my images: *** n.b., if you load

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Stéphane Ducasse
On 04 Jan 2014, at 14:52, Tudor Girba tu...@tudorgirba.com wrote: Hi Sean, I enjoy the collaboration, too. It is really nice to have this energy invested in making cool widgets. We would need more of this :). +1 I will try to look into the remaining issues, too. Let's continue

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Stéphane Ducasse
cool :) Stef On 04 Jan 2014, at 17:42, Sean P. DeNigris s...@clipperadams.com wrote: I'm happy for now. As a general purpose completion option, I'd say we're officially at version 1.0. No obvious bugs, and provides the basic features I'd want. As for replacing the existing Spotlight, I've

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Sebastian Sastre
Look at those results! Can't wait to use it. Fantastic work Sean Questions: 1) how it behaves is you enter 'asStr' (and has tons of results because implementors of asString) 2) can you test a variation that in the implementor messages it shows you the class? (because lets say you type 'ope'

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Sean P. DeNigris
Thanks :) currently, it limits each group to show 7 results. And for messages, it opens an implementors browser, so #asString is only one result, no matter how many classes implement it. That being said, it is highly configurable. One could add a Methods group that does what I think you want...

Re: [Pharo-dev] Spotlight Demo

2014-01-04 Thread Sebastian Sastre
On Jan 4, 2014, at 4:06 PM, Sean P. DeNigris s...@clipperadams.com wrote: Thanks :) currently, it limits each group to show 7 results. And for messages, it opens an implementors browser, so #asString is only one result, no matter how many classes implement it. That being said, it is highly

Re: [Pharo-dev] Spotlight Demo

2014-01-03 Thread Sean P. DeNigris
I love the item count - thanks. I saw the double jump too, but the cause wasn't obvious. And I see what you mean about the arrows; I'll look into it. I'm really enjoying the collaboration :) - Cheers, Sean -- View this message in context:

Re: [Pharo-dev] Spotlight Demo

2014-01-02 Thread Sean P. DeNigris
Tudor Girba-2 wrote - I love it how I can navigate with up/down and still continue typing. This is seriously cool. :) Tudor Girba-2 wrote - Esc has no effect ( I had implemented it for entry completion. It is working in SpotlighMorph now also. Tudor Girba-2 wrote - The list entries

Re: [Pharo-dev] Spotlight Demo

2014-01-01 Thread Tudor Girba
Hi, I went only over the functionality for now (I tried in a Pharo #30664 with Moose inside). It starts to be really interesting: - I love it how I can navigate with up/down and still continue typing. This is seriously cool. but :): - Esc has no effect ( - The list entries behave strangely

Re: [Pharo-dev] Spotlight Demo

2014-01-01 Thread Tudor Girba
And it would still be cool if the search would not block the UI process :). Is that on your roadmap? Doru On Wed, Jan 1, 2014 at 9:39 PM, Tudor Girba tu...@tudorgirba.com wrote: Hi, I went only over the functionality for now (I tried in a Pharo #30664 with Moose inside). It starts to be

Re: [Pharo-dev] Spotlight Demo

2013-12-31 Thread DeNigris Sean
Thanks for the feedback everyone! A few enhancements: - Close on escape - Select next on down arrow when open - Show all on down arrow when closed - Select previous on up arrow - Accept on enter - requires an override in PluggableTextFieldMorph, but I think the change can be integrated in Core -

Re: [Pharo-dev] Spotlight Demo

2013-12-31 Thread Tudor Girba
Sounds like a great New Year gift :). I will review the code today. Cheers, Doru On Wed, Jan 1, 2014 at 3:20 AM, DeNigris Sean s...@clipperadams.com wrote: Thanks for the feedback everyone! A few enhancements: - Close on escape - Select next on down arrow when open - Show all on down

Re: [Pharo-dev] Spotlight Demo

2013-12-30 Thread Craig Latta
Nice! -C -- Craig Latta www.netjam.org/resume +1 510 984 8117 (Skype rings this until 31 January 2014)

Re: [Pharo-dev] Spotlight Demo

2013-12-30 Thread Stéphane Ducasse
Sounds really cool and yes the new ide guys wanted a widgets and behavior like that. How about to add Packages? I needed an entry completion with groups, like Mac's Spotlight. While I was at it, I figured it would also be useful as a UI for the existing Spotlight. So I made a