Changeset 1049

Show
Ignore:
Timestamp:
06/09/11 14:49:05 (2 years ago)
Author:
joerg
Message:
 
Files:
1 modified

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?