View | Details | Raw Unified | Return to bug 204867 | Differences between
and this patch

Collapse All | Expand All

(-)editor.completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java (-1 / +1 lines)
 Lines 723-729    Link Here 
723
        }
723
        }
724
        if (layout.isCompletionVisible()) {
724
        if (layout.isCompletionVisible()) {
725
            SelectedCompletionItem item = layout.getSelectedCompletionItem();
725
            SelectedCompletionItem item = layout.getSelectedCompletionItem();
726
            if (item != null) {
726
            if (item != null && completionResult != null) {
727
                sendUndoableEdit(doc, CloneableEditorSupport.BEGIN_COMMIT_GROUP);
727
                sendUndoableEdit(doc, CloneableEditorSupport.BEGIN_COMMIT_GROUP);
728
                try {
728
                try {
729
                    if (compEditable && !guardedPos) {
729
                    if (compEditable && !guardedPos) {

Return to bug 204867
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo