Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Tudor Girba
Hi Torsten, People are saying that they do not want to have the Catalog Projects displayed by default (before you type anything). This makes the opening of Spotter slower. Another option is to provide an intermediary object. For example, how would it be if we would dive in the Catalog Browser o

[Pharo-users] FileDialog from Spec

2015-11-11 Thread Jeff Gray
In Pharo 4. I'm writing a ui in spec and I want to be able to select and open a file on a button click. I can see one example in polymorph but I don't know if that can be used from spec. Or am I missing something obvious? -- View this message in context: http://forum.world.st/FileDialog-from

Re: [Pharo-users] How to find the cursor position relative to its text for TextMorph or RubTextFieldArea

2015-11-11 Thread Dimitris Chloupis
because its simpler to understand and because I made it work the way I wanted faster than the Rubric alternatives. For example finding the cursor position for a RubScrolledTextMorph is even worse and is located at textArea selectionInterval which I did not even find by myself because the name woul

Re: [Pharo-users] How to find the cursor position relative to its text for TextMorph or RubTextFieldArea

2015-11-11 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Dimitris, Why do you use TextMorph and not RubScrolledTextModel or RubTextFieldMorph ? Cheers Alain > On 11 Nov 2015, at 16:28, Dimitris Chloupis wrote: > > and to answer my own question the answer is > > TextMorph editor pointIndex. > > And now I can create a specia

Re: [Pharo-users] How to find the cursor position relative to its text for TextMorph or RubTextFieldArea

2015-11-11 Thread Dimitris Chloupis
and to answer my own question the answer is TextMorph editor pointIndex. And now I can create a specialized input field only for time that automatically formats to HH:MM:SS On Wed, Nov 11, 2015 at 3:21 PM Dimitris Chloupis wrote: > At first I thought that TextMorph>>cursor would return me the

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Alexandre Bergel
> One thing that slows down spotter is the fact that we display now all entries > from the world menu, which we should change. > Also the extension for CatalogBrowser does an HTTP request every time one > opens spotter. I am for changing this, or > at least for not displaying the CatalogBrowser

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Tudor Girba
Hi, It was chosen a while ago that the Global shortcuts are checked first, before the local ones. The local ones propagate from bottom to top. The idea here was to guarantee global behavior, such as Shift+Enter for popping out things like Spotter. I was not happy about that, but that was the ch

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Andrei Chis
> > Hi, > > I am totally against it because it's too much time to open it with the > spotter. A shortcut need to be a shortcut. If I need to open it via the > Spotter, I will use the mouse because it's the same time. > One more reason, when the image become too big sometime, the Spotter > need some

[Pharo-users] How to find the cursor position relative to its text for TextMorph or RubTextFieldArea

2015-11-11 Thread Dimitris Chloupis
At first I thought that TextMorph>>cursor would return me the position of the cursor relative to its text so if I have a text like "hello" and cursor (that blinking thing) was at "o" it would return 6 but no, whatever position I try it returns always 1 . With rubric I found no way to do this either

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Ferlicot D. Cyril
Le 11/11/2015 11:46, Tudor Girba a écrit : > I actually think we should disable those shortcuts. > > The reason is that they “pollute" the global shortcut space: for example, you > can now not use Cmd+o for any custom action in your own window, and that is > less than ideal. > > The alternative

Re: [Pharo-users] Roassal and custom morphs

2015-11-11 Thread Alexandre Bergel
Thanks Dimitris for your nice words Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Nov 11, 2015, at 4:10 AM, Dimitris Chloupis wrote: > > Yeap this is perfect . I even tried

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Peter Uhnák
On Wed, Nov 11, 2015 at 11:46 AM, Tudor Girba wrote: > I actually think we should disable those shortcuts. > > The reason is that they “pollute" the global shortcut space: Well they are global shortcuts, so that's to be expected. > for example, you can now not use Cmd+o for any custom action i

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Henrik Johansen
Ehm, or maybe fix event dispatch so it works properly? It should always end up testing for event handling By the leaf morph at the given event position and work its way up if unhandled, not check top-down like the change to dispatchEvent:with: has ended up doing... Cheers, Henry > On 11 Nov 201

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-11 Thread Tudor Girba
Hi, The only similarity is the need to have a more scriptable API for widgets. Other than that, the two engines have different goals and structure: Glamour is for browsers, Spec is for declarative user interfaces. Cheers, Doru > On Nov 11, 2015, at 11:58 AM, Dimitris Chloupis wrote: > > how

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-11 Thread Dimitris Chloupis
how come Spec does not unite with Glamour and vice versa if the goals are similar ? On Wed, Nov 11, 2015 at 12:22 PM Tudor Girba wrote: > The same type of fluid interface is available in Glamour. > > That is why this quick prototyping has to make it in the base layer, not > just in the libraries

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Tudor Girba
I actually think we should disable those shortcuts. The reason is that they “pollute" the global shortcut space: for example, you can now not use Cmd+o for any custom action in your own window, and that is less than ideal. The alternative is to use Spotter to spawn windows. The interesting thin

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-11 Thread Tudor Girba
The same type of fluid interface is available in Glamour. That is why this quick prototyping has to make it in the base layer, not just in the libraries that are built on top (like Glamour or Spec). Doru > On Nov 10, 2015, at 10:16 PM, Dimitris Chloupis wrote: > > yes the dynamic building of

Re: [Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Nicolai Hess
2015-11-11 10:45 GMT+01:00 Peter Uhnák : > Hi, > > currently to open a Playground via shortcut one has to type +o+w, > that's because it used to open Workspace. > However since it now opens Playground the shortcut is no longer > appropriate. > > So can we change it to +o+p? > (This shortcut is cur

[Pharo-users] Changing playground and monticello shortcuts

2015-11-11 Thread Peter Uhnák
Hi, currently to open a Playground via shortcut one has to type +o+w, that's because it used to open Workspace. However since it now opens Playground the shortcut is no longer appropriate. So can we change it to +o+p? (This shortcut is currently occupied by Monticello Browser, but that can be mov

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-11 Thread Stephan Eggermont
On 10-11-15 21:18, Dimitris Chloupis wrote: Delphi continued with the new company but since the new company has nowhere near the resources of Borland the decided to embrace .NET while keeping VCL around purely for compatibility reasons. Now Delphi works on .NET which follow a very similar design