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.
Sometimes button "View source" is focusing empty line beetwen two methods and it's very confusing. Steps to reproduce: - Create new "Desktop" and "Basic" app using wizzard in promoh - Invoke popup menu on Save icon and click "Set action ..." - Change method combobox to various method names and check the focus after pushing "View source" button. NetBeans IDE Dev (Build 061123) NetBeans-form_promoh-070227.zip 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04 Windows XP version 5.1 running on x86 cs_CZ (nb); Cp1250
Created attachment 38962 [details] method-focus.jpg
I can confirm this bug. I'm not sure how to fix it, however. I will wait until we have merged to head and begin using the new editor API to calculate the correct line.
fixed now
Verified NetBeans IDE Dev (Build 20070424-0751) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Linux version 2.6.17-10-386 running on i386