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

(-)a/editor.lib/src/org/netbeans/editor/MultiKeymap.java (+9 lines)
Lines 61-66 Link Here
61
import javax.swing.Action;
61
import javax.swing.Action;
62
import javax.swing.AbstractAction;
62
import javax.swing.AbstractAction;
63
import org.openide.awt.StatusDisplayer;
63
import org.openide.awt.StatusDisplayer;
64
import org.openide.util.BaseUtilities;
64
import org.openide.util.Lookup;
65
import org.openide.util.Lookup;
65
66
66
/**
67
/**
Lines 373-378 Link Here
373
                if (context != null) { // Already in a non-empty context
374
                if (context != null) { // Already in a non-empty context
374
                    ignoreNextTyped = true;
375
                    ignoreNextTyped = true;
375
376
377
                } else if (BaseUtilities.isMac()) {
378
                    if (ret != null
379
                        && key.getKeyEventType() == KeyEvent.KEY_PRESSED
380
                        && (key.getModifiers() & InputEvent.ALT_MASK) != 0
381
                        && (key.getModifiers() & InputEvent.CTRL_MASK) == 0
382
                        && !org.openide.util.Utilities.isIgnoredExtendedKeyCode(key.getKeyCode())) {
383
                        ignoreNextTyped = true;
384
                    }
376
                } else if (compatibleIgnoreNextTyped) {
385
                } else if (compatibleIgnoreNextTyped) {
377
                    // #44307 = disabled extra ignoreNextTyped patches for past JDKs
386
                    // #44307 = disabled extra ignoreNextTyped patches for past JDKs
378
                    if ( // Explicit patch for the keyTyped sent after Alt+key
387
                    if ( // Explicit patch for the keyTyped sent after Alt+key

Return to bug 244023