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.
NetBeans 7.1 Semantic highlighting doesn't appear. I think this problem blocks inaccuracy tests. Scenario: - Create Fractal project - Open fractal.cc file ==> - Close file - Open fractal.cc again ==> no semantic highlighting Other scenario: - Add invalid line into fractal.cc ==> red lines appears - Close file - Open fractal.cc again ==> no errors
may be root cause is issue #201823
Please, fix regression in EditorRegistry nofications. It blocks all our QA GUI tests to see/debug problem: run IDE with -J-Dcnd.model.tasks.time=true -J-Dcnd.model.tasks.files=true and observe trace about OpenedEditors.stateChanged() EditorRegistry does not notify about new opened files, when notification about closed file is received EdtiorRegistry list of components is incorrect and holds already closed files as well
backout done for 201823 didn't help to have correct events from EditorRegistry so https://netbeans.org/bugzilla/show_bug.cgi?id=201823#c3 is valid Please, fix ER events, our tests are failing
EditorRegistry.notifyClose() is no longer effective since upon TopComponent.Registry.firePropertyChange(PROP_TC_CLOSED) it's no longer true that closedTopComponent.isAncestorOf(quietEditorPane) which is the mechanism that ER used to identify TC with closed editor pane. Yardo, could you give me a hint how should I change the ER code to work again? Thanks.
Both modes should work (MutliView TC and pure old Editor TC) when fix is done, right?
The most reliable contract I can think of is to make sure CloneableEditor (or Support) always set and unset putClientProperty("usedByCloneableEditor", Boolean.TRUE/FALSE). This way you will have easier code to observe what is going on in editor and the manipulation with JEditorPanel's state will be done by its owner. Thus it will be more reliable.
After talking to Standa A. I think that Yarda's "usedByCloneableEditor" will be the best solution of the problem.
http://hg.netbeans.org/jet-main/rev/108b9b214479
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/108b9b214479 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #201808 - Semantic highlighting doesn't appear.
*** Bug 200131 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/2481d6041232 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: extra fix for #201808: Semantic highlighting doesn't appear