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.

View | Details | Raw Unified | Return to bug 216805
Collapse All | Expand All

(-)a/editor.lib/src/org/netbeans/editor/BaseTextUI.java (-1 / +4 lines)
Lines 265-271 Link Here
265
265
266
        SwingUtilities.replaceUIInputMap(c, JComponent.WHEN_FOCUSED, null);
266
        SwingUtilities.replaceUIInputMap(c, JComponent.WHEN_FOCUSED, null);
267
        
267
        
268
        EditorApiPackageAccessor.get().register(component);
268
        if (!Boolean.TRUE.equals(component.getClientProperty("AsTextField"))) {   // NOI18N
269
            // Auto-register editors, that do not behave like a text field.
270
            EditorApiPackageAccessor.get().register(component);
271
        }
269
        component.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
272
        component.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
270
    }
273
    }
271
274

Return to bug 216805