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.
Open a php or html file. Display navigator and make a change in the editor. The navigator is not refreshed. The only way how to refresh navigator is display another file and back to the original.
Created attachment 120824 [details] Proposed patch The patch does 2 things: 1/ initializes arrays for the "update" task. This was forgotten and may lead to NPE 2/ changes condition for including Children of a node to an update. Update of the nodes must be skipped IFF: - child nodes were never shown (initialized = false) - they are not initializing or refreshing right now (processing == 0, processing is a nondecreasing variable please review
Created attachment 120833 [details] Proposed patch Added NPE check if caret is positioned outside all nodes
I tested the patches and looked through, they are ok for me.
Fixed in trunk in http://hg.netbeans.org/jet-main/rev/88568e34c779
Integrated into 'main-golden', will be available in build *201206170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/88568e34c779 User: Svata Dedic <sdedic@netbeans.org> Log: #214178: corrected conditions for inclusion of child nodes to update
verified in trunk. Navigator reflects changes in html/php file Product Version: NetBeans IDE Dev (Build 201206180001) Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21 System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in trunk
v.
Integrated into 'releases', will be available in build *201206182200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/daea85613037 User: Svata Dedic <sdedic@netbeans.org> Log: #214178: corrected conditions for inclusion of child nodes to update (transplanted from 88568e34c779)
The fix is already in release72 branch
... pending verification in NB 7.2
verified in NB 7.2 Product Version: NetBeans IDE 7.2 RC1 (Build 201206242201) Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b05 System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)