Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Cheers, Alexandre
Hi,
On Sep 6, 2011, at 20:14, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Yes :)
v will be populated with the entity, not the selection.
You should use "prez selection".
Cheers, Doru
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
I think you meant 'prez text' and not 'prez selection'. I found another strange behavior, likely to be a bug.
Try: -=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | prez text inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=
If you type something and press cmd-i then you open an inspector on what you have typed. Now, do a cut and paste in the textpane, and press cmd-i. You have an inspector on 'hello world', no matter what you have cut&pasted.
Is this a bug?
Cheers, Alexandre
On 6 Sep 2011, at 15:32, Tudor Girba wrote:
Hi,
On Sep 6, 2011, at 20:14, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Yes :)
v will be populated with the entity, not the selection.
You should use "prez selection".
Cheers, Doru
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
Sorry, it is: selectedText.
Doru
On 6 Sep 2011, at 20:42, Alexandre Bergel wrote:
I think you meant 'prez text' and not 'prez selection'. I found another strange behavior, likely to be a bug.
Try:
| browser | browser := GLMFinder new. browser text act: [:prez :v | prez text inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=
If you type something and press cmd-i then you open an inspector on what you have typed. Now, do a cut and paste in the textpane, and press cmd-i. You have an inspector on 'hello world', no matter what you have cut&pasted.
Is this a bug?
Cheers, Alexandre
On 6 Sep 2011, at 15:32, Tudor Girba wrote:
Hi,
On Sep 6, 2011, at 20:14, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Yes :)
v will be populated with the entity, not the selection.
You should use "prez selection".
Cheers, Doru
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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."
Regarding copy paste, indeed it seems that pasting a text does not update the port. Please open a ticket.
Doru
On 6 Sep 2011, at 22:47, Tudor Girba wrote:
Sorry, it is: selectedText.
Doru
On 6 Sep 2011, at 20:42, Alexandre Bergel wrote:
I think you meant 'prez text' and not 'prez selection'. I found another strange behavior, likely to be a bug.
Try:
| browser | browser := GLMFinder new. browser text act: [:prez :v | prez text inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=
If you type something and press cmd-i then you open an inspector on what you have typed. Now, do a cut and paste in the textpane, and press cmd-i. You have an inspector on 'hello world', no matter what you have cut&pasted.
Is this a bug?
Cheers, Alexandre
On 6 Sep 2011, at 15:32, Tudor Girba wrote:
Hi,
On Sep 6, 2011, at 20:14, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Yes :)
v will be populated with the entity, not the selection.
You should use "prez selection".
Cheers, Doru
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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."
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
#701
Alexandre
On 6 Sep 2011, at 18:12, Tudor Girba wrote:
Regarding copy paste, indeed it seems that pasting a text does not update the port. Please open a ticket.
Doru
On 6 Sep 2011, at 22:47, Tudor Girba wrote:
Sorry, it is: selectedText.
Doru
On 6 Sep 2011, at 20:42, Alexandre Bergel wrote:
I think you meant 'prez text' and not 'prez selection'. I found another strange behavior, likely to be a bug.
Try:
| browser | browser := GLMFinder new. browser text act: [:prez :v | prez text inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=
If you type something and press cmd-i then you open an inspector on what you have typed. Now, do a cut and paste in the textpane, and press cmd-i. You have an inspector on 'hello world', no matter what you have cut&pasted.
Is this a bug?
Cheers, Alexandre
On 6 Sep 2011, at 15:32, Tudor Girba wrote:
Hi,
On Sep 6, 2011, at 20:14, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug. Consider the following script -=-=-=-=-=-=-=-=-= | browser | browser := GLMFinder new. browser text act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'. browser openOn: 'hello world' -=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Yes :)
v will be populated with the entity, not the selection.
You should use "prez selection".
Cheers, Doru
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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."
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev