Changeset 1049


Ignore:
Timestamp:
Jun 9, 2011, 2:49:05 PM (6 years ago)
Author:
joerg
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sce/component/SCEPaneUI.java

    r973 r1049  
    139139
    140140    if (allowedChars.indexOf(e.getKeyChar()) == -1) return;
    141     if (e.isControlDown() || e.isAltDown()) return;
     141    if (e.isControlDown() || e.isAltDown() || e.isMetaDown()) return;
    142142
    143143    if (document.hasSelection()) removeSelection();
     
    149149
    150150    int keyCode = e.getKeyCode();
     151
     152    // ignore meta key
     153    if (e.isMetaDown()) return;
    151154
    152155    // is control down?
Note: See TracChangeset for help on using the changeset viewer.