Strange result after a "go to definition" LC 6.7
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Strange result after a "go to definition" LC 6.7
Hi All,
I update one stack
After a "go to definition" in a group backgroud script I get a strange result "resolve ambiguity"between two groups with the same name although there is only one script with the searched handler.
No problem with LC 5.5.5
That happens with LC 6.7.0.
If I change the name of the group, the name of the other group also is changed and a search with find tools return only one group.
it looks like a bug
Best regards
Jean-Marc
I update one stack
After a "go to definition" in a group backgroud script I get a strange result "resolve ambiguity"between two groups with the same name although there is only one script with the searched handler.
No problem with LC 5.5.5
That happens with LC 6.7.0.
If I change the name of the group, the name of the other group also is changed and a search with find tools return only one group.
it looks like a bug
Best regards
Jean-Marc
https://alternatic.ch
Re: Strange result after a "go to definition" LC 6.7
Jean-Marc
Do you indeed have two groups? Did you say that when you changed the name of one group, the name of the other group changed also?
Craig
Do you indeed have two groups? Did you say that when you changed the name of one group, the name of the other group changed also?
Craig
Re: Strange result after a "go to definition" LC 6.7
hi Craig,
If I change the name of group "grNavigation" to "grNavigation1" the name of the other group also change to "grNavigation1" in the "resolve ambiguity" message
And when I search the handler with find tools, it return only one result
Jean-Marc
One background group called "grNavigation" placed on 7 cds. They have the same IDDo you indeed have two groups?
Yes.Did you say that when you changed the name of one group, the name of the other group changed also?

If I change the name of group "grNavigation" to "grNavigation1" the name of the other group also change to "grNavigation1" in the "resolve ambiguity" message
And when I search the handler with find tools, it return only one result
Jean-Marc
https://alternatic.ch
Re: Strange result after a "go to definition" LC 6.7
Hi.
A background Group placed on several cards is only one group. It is rather "shared" among those cards. That is why changing the name on any particular card will cause the name of the "other" groups to change as well. And so only one group would be "found" by searching.
How do you get the "resolve ambiguity" message? What sort of code trips this?
Craig
A background Group placed on several cards is only one group. It is rather "shared" among those cards. That is why changing the name on any particular card will cause the name of the "other" groups to change as well. And so only one group would be "found" by searching.
How do you get the "resolve ambiguity" message? What sort of code trips this?
Craig
Last edited by dunbarx on Thu Dec 11, 2014 12:26 am, edited 1 time in total.
Re: Strange result after a "go to definition" LC 6.7
Hi Craig
Jean-Marc
No code. Just search an handler with a "go to definition" from the script editorHow do you get the "resolve ambiguity" message? What sort of code trips this?
Jean-Marc
https://alternatic.ch
Re: Strange result after a "go to definition" LC 6.7
Hi.
What is "go to definition"?
Craig
What is "go to definition"?
Craig
Re: Strange result after a "go to definition" LC 6.7
Hi Craig,
Jean-Marc
A contextual menu in the script editor (with a click right or with optionkey )What is "go to definition"?
Jean-Marc
https://alternatic.ch
Re: Strange result after a "go to definition" LC 6.7
Jean-Marc.
Craig
Still cannot find this. Just a right-click anywhere? During a step-through? I am on a Mac.A contextual menu in the script editor (with a click right or with optionkey )
Craig
Re: Strange result after a "go to definition" LC 6.7
Hi Craig,
Sorry. An image should be better than explanations with my poor english
http://www.alternatic.ch/jmb/devrev/IGo ... tionLC.png
And many thanks for your time
Jean-Marc
Sorry. An image should be better than explanations with my poor english
http://www.alternatic.ch/jmb/devrev/IGo ... tionLC.png
And many thanks for your time
Jean-Marc
https://alternatic.ch
Re: Strange result after a "go to definition" LC 6.7
Jean-Marc.
I bet your English is better than my French.
Craig
Thanks for yours. I never used "go to definition" before. Never actually remembered it existed at all.thanks for your time
I bet your English is better than my French.
Craig
Re: Strange result after a "go to definition" LC 6.7
Hi
Here is a simplified stack.
You can reproduce this problem and make differences between LC 5.5.5. and 6.7.0
Jean-Marc
Here is a simplified stack.
You can reproduce this problem and make differences between LC 5.5.5. and 6.7.0
Jean-Marc
- Attachments
-
- ResolveAmbiguityTest_001.livecode.zip
- (38.91 KiB) Downloaded 166 times
https://alternatic.ch