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.
This issue was reported manually by sdedic. It already has 6 duplicates Build: NetBeans IDE 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11 OS: Windows 7 User Comments: GUEST: I get slow code completion in XML file. When i describe DTD in that xml. xylifyx: editing pom Maximum slowness yet reported was 6270 ms, average is 3841
Created attachment 126392 [details] nps snapshot
Each line is inserted separately into the swing document, which causes multiple processing like spellcheck, lexing etc. Larger buffers should be used to load the document.
Fixed in http://hg.netbeans.org/jet-main/rev/f6e82de95031
Integrated into 'main-golden', will be available in build *201210260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f6e82de95031 User: Svata Dedic <sdedic@netbeans.org> Log: #220664: base document loads the contents directly and whole, not individual lines