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