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 218815

Summary: Ctrl + G in opening file selects line in previous file
Product: editor Reporter: akobberup
Component: NavigationAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description akobberup 2012-09-22 08:43:13 UTC
If you open a file in the editor (that is not already opened) and then right away hit Ctrl+G, opening the goto line dialog, enters a line number and hit enter, the editor will sometimes switch back to the file previously edited and select said line number in that file.

It seems as though the goto dialog do not get notification of the change in which file is shown before the editor is done parsing the file and is showing it correctly with code folds and syntax coloring.
Comment 1 Milutin Kristofic 2012-10-24 16:33:30 UTC
Probably fixed with changes in Bug #216495 It would be great to check it in Netbeans beta 2, or dev build - created in 2-3 days.