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 - Ctrl + G in opening file selects line in previous file
Summary: Ctrl + G in opening file selects line in previous file
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 08:43 UTC by akobberup
Modified: 2012-11-08 13:03 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 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.