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 59701
Collapse All | Expand All

(-)libsrc/org/netbeans/editor/BaseKit.java (+4 lines)
Lines 1268-1279 Link Here
1268
        }
1268
        }
1269
1269
1270
        public void actionPerformed(ActionEvent evt, JTextComponent target) {
1270
        public void actionPerformed(ActionEvent evt, JTextComponent target) {
1271
            System.err.println("Cut action called target=" + target);
1271
            if (target != null) {
1272
            if (target != null) {
1272
                if (!target.isEditable() || !target.isEnabled()) {
1273
                if (!target.isEditable() || !target.isEnabled()) {
1273
                    target.getToolkit().beep();
1274
                    target.getToolkit().beep();
1274
                    return;
1275
                    return;
1275
                }
1276
                }
1276
1277
1278
                System.err.println("Delegating to target.cut()");
1277
                target.cut();
1279
                target.cut();
1278
            }
1280
            }
1279
        }
1281
        }
Lines 1290-1296 Link Here
1290
        }
1292
        }
1291
1293
1292
        public void actionPerformed(ActionEvent evt, JTextComponent target) {
1294
        public void actionPerformed(ActionEvent evt, JTextComponent target) {
1295
            System.err.println("Copy action called target=" + target);
1293
            if (target != null) {
1296
            if (target != null) {
1297
                System.err.println("Delegating to target.copy()");
1294
                target.copy();
1298
                target.copy();
1295
            }
1299
            }
1296
        }
1300
        }

Return to bug 59701