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.
IIRC this is a regression from eons ago--I vaguely remember reporting this before and it being fixed.
*** This bug has been marked as a duplicate of bug 152237 ***
Incorrectly duplicated; apologies.
Please provide a scenario in which the CC open is unwanted: copying an entire element (incl. closing tag) or opened element with some content (even whitespace) trailing does not open CC: CC opens if an opening tag is copied to the document at the end of the pasted string, and CC suggests either a child, or closing tag for it.
Created attachment 134310 [details] CC opens after pasting "dependency" element You can reproduce this by pasting a complete element in a POM file. In this case, I simply copied and pasted the existing javaee dependency.
Aha, OK. The trouble is that the CC is invoked much context. However I can use a trick: when the user types text into the editor manually, typically chars are entered one by one (event fired for each of them). I noticed that no CC: displays if the pasted text ends with a non-whitespace character (e.g. paste block ends right after closing ">" character). So I am changing the autoquery detection so that it will not pop up completion if the typed text ends with whitespace. Let's see if some other scenarios don't break;
Fixed in http://hg.netbeans.org/jet-main/rev/de3d79fc00a5
(not specific to MacOS X)
Integrated into 'main-golden', will be available in build *201305252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/de3d79fc00a5 User: Svata Dedic <sdedic@netbeans.org> Log: #228311: do not open cc: when text with trailing ws is inserted
Yup.