# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\hg\core-main\core.windows\src\org\netbeans\core\windows\view\ui # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: KeyboardPopupSwitcher.java --- KeyboardPopupSwitcher.java Base (BASE) +++ KeyboardPopupSwitcher.java Locally Modified (Based On LOCAL) @@ -60,6 +60,7 @@ import org.netbeans.swing.popupswitcher.SwitcherTableItem; import org.openide.awt.StatusDisplayer; import org.openide.util.Utilities; +import org.openide.windows.Mode; import org.openide.windows.WindowManager; /** @@ -137,6 +138,10 @@ return false; } + Mode activeMode = wmi.getActiveMode(); + if( !wmi.isEditorMode(activeMode) ) + return false; + boolean isCtrlTab = kev.getKeyCode() == KeyEvent.VK_TAB && kev.getModifiers() == InputEvent.CTRL_MASK; boolean isCtrlShiftTab = kev.getKeyCode() == KeyEvent.VK_TAB &&