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 231693 - Navigator does not reflect code changes with large files
Summary: Navigator does not reflect code changes with large files
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 07:47 UTC by Vladimir Riha
Modified: 2013-06-24 07:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-06-24 07:47:47 UTC
I have this [1] JS file with > 3k lines and it seems that sometimes if I modify the source and try to navigate to some method from Navigator using double click, caret in editor is in wrong position. It looks like it doesn't reflect changes and just navigate me to place where the method used to be before modifications.

If it's relevant, the entire project is using GIT.


Last time I reproduce it with following:

- on line 2867, declare empty function that occupies multiple rows:

function JustATest(){// line 2867
    
    
    
    
    
    
} // line 2874


- in Navigator, 2nd function from top is AdminAssignmentCtrl, which contains definition for getPlatformId function, try to double click on this function


=> caret is on line 3052, column 69

What helps is to reopen the file


[1] https://raw.github.com/ladariha/synergy/master/client/app/js/controllers.js

Product Version: NetBeans IDE Dev (Build 20130623-ea62245fed2c)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)