Hi all,
there was a cool feature of inspectors in Pharo 3 that seems to be gone in 4. You could inspect an object, say a ValueHolder, click on a variable, e.g. value, and that would show the value of the value variable :-P in the right hand pane. OK nothing fundamentally changed in Pharo 4, that still happens. But, in Pharo 3, I could enter an expression in that pane, e.g. ‘abc', and hit cmd-s (accept). This would *change* the contents of value to the result of the evaluation, i.e. the string abc. I don’t see how I can do that in Pharo 4, there is no menu item and no keyboard shortcut. I would really love to have that back, it can be very useful at times... ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Hi,
This is a bit hidden, but you can double click on the value and get an input field. On Mon, Jan 5, 2015 at 3:57 PM, Johan Fabry <[hidden email]> wrote: Hi all, |
Hi, The implementation is still a work in progress, but it already shows the direction. Now that it is out, feedback is welcome. Cheers, Doru On Mon, Jan 5, 2015 at 8:06 PM, Marcus Denker <[hidden email]> wrote:
|
Well, I would say that there is a discoverability issue ;-) How about having some small ‘edit’ icon-button in the list instead? > On Jan 5, 2015, at 17:29, Tudor Girba <[hidden email]> wrote: > > Hi, > > You saw it. How did you discover it? :) > > The implementation is still a work in progress, but it already shows the direction. Now that it is out, feedback is welcome. > > Cheers, > Doru > > On Mon, Jan 5, 2015 at 8:06 PM, Marcus Denker <[hidden email]> wrote: > Hi, > > This is a bit hidden, but you can double click on the value and get an input field. > > On Mon, Jan 5, 2015 at 3:57 PM, Johan Fabry <[hidden email]> wrote: > Hi all, > > there was a cool feature of inspectors in Pharo 3 that seems to be gone in 4. You could inspect an object, say a ValueHolder, click on a variable, e.g. value, and that would show the value of the value variable :-P in the right hand pane. OK nothing fundamentally changed in Pharo 4, that still happens. But, in Pharo 3, I could enter an expression in that pane, e.g. ‘abc', and hit cmd-s (accept). This would *change* the contents of value to the result of the evaluation, i.e. the string abc. > > I don’t see how I can do that in Pharo 4, there is no menu item and no keyboard shortcut. I would really love to have that back, it can be very useful at times... > > > ---> Save our in-boxes! http://emailcharter.org <--- > > Johan Fabry - http://pleiad.cl/~jfabry > PLEIAD lab - Computer Science Department (DCC) - University of Chile > > > > > > -- > -- > Marcus Denker -- [hidden email] > http://www.marcusdenker.de > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Hi, Cheers, Doru On Mon, Jan 5, 2015 at 10:25 PM, Johan Fabry <[hidden email]> wrote:
|
(I agree that discoverability of the previous solution was very low.) As is, I’m happy that it exists. :-) But it does not seem to work for me :-( I tested it in today’s build (40429). When I do ‘abc’ asValueHolder and then try to change value (double-click, delete a and b, press enter) nothing seems to happen. If instead of pressing enter, I click outside the edit field, the field shows ‘c’, but clicking on self shows that the value is still ‘abc’. I also tried Cmd-S but it only makes the orange edit triangle go away. The rest of my comments / requests are more cosmetic and here they are as a bulleted list for convenience. - hitting esc should cancel the edit. - I expect that starting an edit would select the content of the field, like for example when renaming a file in the MacOS Finder. - start an edit and stop it by clicking outside (for example) without making a change and the field still has the orange triangle - the context menu on the field is too big, I would expect only cut/copy/paste > On Jan 5, 2015, at 18:29, Tudor Girba <[hidden email]> wrote: > > Hi, > > Yes, something like that is clearly needed (although the discoverability of the previous solution was not at all better). But, I meant except from the discoverability. Could you check and see if the behavior is what you expect? > > Cheers, > Doru > > > On Mon, Jan 5, 2015 at 10:25 PM, Johan Fabry <[hidden email]> wrote: > > Well, I would say that there is a discoverability issue ;-) How about having some small ‘edit’ icon-button in the list instead? > > > On Jan 5, 2015, at 17:29, Tudor Girba <[hidden email]> wrote: > > > > Hi, > > > > You saw it. How did you discover it? :) > > > > The implementation is still a work in progress, but it already shows the direction. Now that it is out, feedback is welcome. > > > > Cheers, > > Doru ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Free forum by Nabble | Edit this page |