« Return to Thread: NB6.7RC3 : bad cursor placement with ruby-1.9.1

Bad cursor placement with ruby-1.9.1

by Chauk-Mean :: Rate this Message:

Reply to Author | View in Thread

Hi,

Any chance to have this fixed for 6.8 release ?
Thanks.

Chauk-Mean.

Erno Mononen wrote:
Chauk-Mean wrote:
> Hi Erno,
>
>
> Erno Mononen wrote:
>  
>> 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.
>>
>>
>>    
>
> Just a little update.
> In the sample code, the syntax for the hash is the conventional one and not
> the new 1.9 one.
>  

Ah, yes of course, I was being sloppy -- there were some issues with the
1.9 hash syntax in the parser so I just carelessly lumped this into the
same category.

> Moreover, if you delete the line containing the hash, the cursor placement
> issue is still there.
>
> So, this is a general issue if the parser is in 1.9 compatibility mode.
>  

Yes, that seems to be the case - thanks for the additional info. I
haven't yet got to look at the problem in details, hopefully next week.

Cheers,
Erno

 « Return to Thread: NB6.7RC3 : bad cursor placement with ruby-1.9.1