Page 1 of 1
Strange result after a "go to definition" LC 6.7
Posted: Tue Dec 09, 2014 6:09 pm
by jmburnod
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
Re: Strange result after a "go to definition" LC 6.7
Posted: Tue Dec 09, 2014 6:41 pm
by dunbarx
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
Re: Strange result after a "go to definition" LC 6.7
Posted: Tue Dec 09, 2014 6:59 pm
by jmburnod
hi Craig,
Do you indeed have two groups?
One background group called "grNavigation" placed on 7 cds. They have the same ID
Did you say that when you changed the name of one group, the name of the other group changed also?
Yes.
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
Re: Strange result after a "go to definition" LC 6.7
Posted: Tue Dec 09, 2014 8:53 pm
by dunbarx
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
Re: Strange result after a "go to definition" LC 6.7
Posted: Tue Dec 09, 2014 10:45 pm
by jmburnod
Hi Craig
How do you get the "resolve ambiguity" message? What sort of code trips this?
No code. Just search an handler with a "go to definition" from the script editor
Jean-Marc
Re: Strange result after a "go to definition" LC 6.7
Posted: Thu Dec 11, 2014 12:27 am
by dunbarx
Hi.
What is "go to definition"?
Craig
Re: Strange result after a "go to definition" LC 6.7
Posted: Thu Dec 11, 2014 7:29 am
by jmburnod
Hi Craig,
What is "go to definition"?
A contextual menu in the script editor (with a click right or with optionkey )
Jean-Marc
Re: Strange result after a "go to definition" LC 6.7
Posted: Thu Dec 11, 2014 6:41 pm
by dunbarx
Jean-Marc.
A contextual menu in the script editor (with a click right or with optionkey )
Still cannot find this. Just a right-click anywhere? During a step-through? I am on a Mac.
Craig
Re: Strange result after a "go to definition" LC 6.7
Posted: Thu Dec 11, 2014 7:41 pm
by jmburnod
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
Re: Strange result after a "go to definition" LC 6.7
Posted: Thu Dec 11, 2014 10:58 pm
by dunbarx
Jean-Marc.
thanks for your time
Thanks for yours. I never used "go to definition" before. Never actually remembered it existed at all.
I bet your English is better than my French.
Craig
Re: Strange result after a "go to definition" LC 6.7
Posted: Fri Dec 12, 2014 6:53 pm
by jmburnod
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