Right.

But, now select and print this string:

'1
2
3'

and then copy. You will only get 1, not the whole string. That is because only the first line gets selected when you press Cmd+c.

Doru

On Tue, Oct 7, 2014 at 2:30 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hmm, I must have read something wrong, I though we were talking about 'Print It' and the copying of that String output.

- I open a GT-Playground
- I type ZnMimeType default
- Cmd-p (which selects the previous expression)
- Cmd-c (copies from the popper whose text is already selected)
- Esc (close the popper)

Now the output of the 'Print It' is in the clipboard, ready to be pasted somewhere.

On 07 Oct 2014, at 14:25, Tudor Girba <tudor@tudorgirba.com> wrote:

> No, it's not selected by default. Only when you press Cmd+c and you do not have anything selected, it will select the line :)
>
> For example, if you have a multi-line string, it does not work. If you inspect:
> '1
> 2
> 3'
> and then Cmd+c, you will only get '1'.
>
> One idea was to reimplement Cmd+c to select the whole popper text if nothing is selected, but I did not get around to do it.
>
> Doru
>
>
>
>
> On Tue, Oct 7, 2014 at 2:14 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
>
> On 07 Oct 2014, at 14:10, Tudor Girba <tudor@tudorgirba.com> wrote:
>
> > Of course, you can select the text :).
> >
> > I guess the problem in your case is that in the default Pharo theme, the background of the popup has the same color as the text selection. This is why you do not see the selection.
> >
> > But, if you do Cmd+a and then Cmd+c, it works fine.
>
> It is selected automatically, no ? Just Cmd-c is enough, Esc to close.
>
> > Doru
> >
> > On Tue, Oct 7, 2014 at 1:39 PM, Andre Hora <andrehoraa@gmail.com> wrote:
> > Hello,
> >
> > When we print a string in Moose, we cannot select it because it is printed "like a label", which can be then inspected.
> > For me it is bit strange because I used to frequently print some string and then do something else such as browser a class, or copy a substring (which is not possible anymore).
> > So, what is goal of this feature? Maybe I just didn't see it.
> >
> > thanks!
> >
> > --
> > Andre Hora
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev@iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
> >
> >
> > --
> > www.tudorgirba.com
> >
> > "Every thing has its own flow"
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev@iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--
www.tudorgirba.com

"Every thing has its own flow"