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.
Build 200108170100 Described behaviour is happened when Editor modul is removed from the IDE. The following code is generated when user wants to add some constructor, method, field into an empty class. class eeeee { }public int newField; public eeeee() { } public void newMethod() {
Editor's Document implementation of Element.getEndOffset() is inconsistent with Swing's Document implementation.
*** Issue 16499 has been marked as a duplicate of this issue. ***
Created attachment 3206 [details] Patch for the editor module
According to our last discussion with Tomas Hurka I've attached the patch for the editor module that makes it compatible with the Swing behavior. I'm reassigning the issue to java module. Please close it once you implement your side. Thanks. Mila
Target milestone -> 3.3.1.
I prepared the patch for java module. This which works OK if editor module is not installed. Unfortunately with editor module installed, there are still some incompatibilities. One of them is SourceElem test from nb_all/java/test . I will attach my patch. Assigning back to editor.
Created attachment 3591 [details] Patch for java module
*** Issue 21308 has been marked as a duplicate of this issue. ***
Please look at issue #20045. It seems that the NB Editor's document still behaves differently than the Swing default one.
*** Issue 23097 has been marked as a duplicate of this issue. ***
Priority increased due to #23097
This bug is a subset of the #17061. The fix is almost ready but it requires announcement on nbdev. The announcement will be done tomorrow.
Created attachment 5682 [details] Extra ending new-line compatibility fix
Marking as dup of 17061. *** This issue has been marked as a duplicate of 17061 ***
Verified
Resolved for 3.3.x or earlier, no new info since then -> closing.