This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158893

Summary: Mark Occurrences at function definition
Product: ruby Reporter: Martin Schovanek <mschovanek>
Component: EditingAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2009-02-20 12:57:34 UTC
[#200902181412 M2 build, jdk1.5.0]

to reproduce:
-------------
1) type in a .rb file (| represents cursor):
  def f|n()
    for i in 0..10 
      puts i
      fn()
    end
  end

ERROR: Mark Occurrences highlights the 'for i in 0..10' statement instead of 'fn()'