Hi Chauk-Mean,
I reproduced the problem, possibly the 1.9 parser gives incorrect
locations for the new 1.9 hash syntax. I filed
http://www.netbeans.org/issues/show_bug.cgi?id=167815 for this,
unfortunately it is too late to fix for 6.7 final, but possibly can be
fixed for 6.7 patch1.
Thanks for reporting this,
Erno
Chauk-Mean wrote:
> Hi,
>
> I have the following basic script :
>
> ---------------
> # To change this template, choose Tools | Templates
> # and open the template in the editor.
>
> a = {:a => 'x', :b => 'z'}
>
> def foo(param)
> puts param
> end
>
> v = foo(a)
> ---------------
>
> 1/ If I use the built-in JRuby-1.2.0 or a Ruby-1.8 platform (1.8.6-p369) as
> the project platform :
> - When I click on one of the elements (a, foo, or v) in the Navigator, the
> cursor is placed correctly at the appropriate location in the source file.
>
> 2/ Now if I use a Ruby-1.9 platform (1.9.1-p129) :
> - When I click on one of the elements in the Navigator, the cursor is placed
> at a wrong location in the source file.
>
> Am I missing something ?
> If not, I hope that this will be corrected in the 6.7 final release.
>
> Cheers.
>
> Chauk-Mean.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...