However this only happens jumping to the class declaration itself.. jumping
to methods and member variables, the cursor goes to the correct position
using newest SDKs.

Also, tried to remove the asdocs from LayoutBase and repeating the
operation, and it tries to jump to the same line/col (finding some other
text). But the methods and variables jumps still works, finding the correct
position even on the modified file.

Thus Alex is right, the debug info in SWCs may be only used for debugging
sessions, and Flash Builder takes care of the code navigation. Just
something is strange when jumping to class definition (not a real issue in
my opinion).



2013/11/28 Cosma Colanicchia <cosma...@gmail.com>

> I think that the sourceline references are baked in the SWC when they are
> compiled with debug=true (see [1]).
>
> BTW, noticed the same behavior on my environment with the 4.11 SDK - open
> declaration for LayoutBase bring me to the class asdoc section (in my case,
> it highlights the “ Flash 10” words).
>
> [1]
> http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
>
>
> 2013/11/28 Alex Harui <aha...@adobe.com>
>
>> I think it is up to Flash Builder to figure out where to put the cursor.
>>
>> On 11/27/13 1:52 PM, "BorekB" <bor...@gmail.com> wrote:
>>
>> >Did a test now. I was navigating to the LayoutBase class. In SDK 4.6,
>> >Flash
>> >Builder correctly navigated to file LayoutBase.as with the text
>> >"LayoutBase"
>> >selected and cursor blinking on line 78, col 24. When I did the same for
>> >SDK
>> >4.11.0, the selection was somewhere inside the class ASDoc comments, so a
>> >few lines above the correct position, specifically the cursor was
>> blinking
>> >at 82:28. So the location is different from 4.6 but still wrong.
>> >
>> >I confirmed this misbehavior even in the clean workspace as suggested by
>> >Cosma.
>> >
>> >Are the symbol positions somehow baked into the SDK or is it up to the
>> >Flash
>> >Builder to scan all sources and build the index itself?
>> >
>> >
>> >
>> >--
>> >View this message in context:
>> >
>> http://apache-flex-development.2333347.n4.nabble.com/Open-declaration-F3-c
>> >trl-click-jumps-to-wrong-location-in-Flash-Builder-tp32641p32660.html
>> >Sent from the Apache Flex Development mailing list archive at Nabble.com.
>>
>>
>

Reply via email to