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.
}
if (layout.isCompletionVisible()) {
SelectedCompletionItem item = layout.getSelectedCompletionItem();
if (item != null) {
if (item != null && completionResult != null) {
sendUndoableEdit(doc, CloneableEditorSupport.BEGIN_COMMIT_GROUP);
try {
if (compEditable && !guardedPos) {