Go To Item not always jumps to the correct line

Report bugs and possible workarounds for ANSI TD versions
Nils Jänicke
Germany
Posts: 423
Joined: 20 Sep 2017, 11:56
Location: Villingen-Schwenningen, Germany

Go To Item not always jumps to the correct line

Post by Nils Jänicke » 01 Feb 2011, 08:55

Using libraries you can go to the selected items in the apl by pressing F5 or by context menu. But the Team developer only parses the line itselfs, not the context where the line is.

Here the example. In the library flib1.apl there are two functions declared as "Test1" and "Test2". In Test1 there is a local variable delclared and set to FALSE. In Test2 the variable is set too but not declared (maybe forgotten), so the compiler will cause an error. That's correct.
In the application Test.app the flib1.apl is included.
When compiling the Test.apl an error is shown, and this error is within the library flib1.apl. So yo want to go to this item (maybe to declare the missing variable):
Goto1.PNG
On click the flib1.apl is opened, but you can see that the cursor is placed on the first function Test1, not the second where the error is:
Goto2.PNG
This bug is not only on TD 6.0, I know this bug since Centura 1
You do not have the required permissions to view the files attached to this post.

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1462
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Go To Item not always jumps to the correct line

Post by Igor Ivanovic » 01 Feb 2011, 13:52

Very old bug as You say.

Would like to see it resolved also.
Igor Ivanovic
Image

Return to “Bug Reports (TD 4.2 and older)”

Who is online

Users browsing this forum: [Ccbot] and 0 guests