Changeset 11959


Ignore:
Timestamp:
Apr 21, 2009, 12:59:51 AM (10 years ago)
Author:
rme
Message:

If a standalone dead key is pressed, then pass that to the Cocoa text
input system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/cocoa-editor.lisp

    r11917 r11959  
    914914    (cond ((and (not *option-is-meta*)
    915915                (logtest #$NSAlternateKeyMask flags))
     916           (call-next-method event))
     917          ;; If a standalone dead key (e.g., ^ on a French keyboard)
     918          ;; was pressed, pass it through to the Cocoa text input system.
     919          ((and (zerop (#/length (#/characters event)))
     920                (not (logtest #$NSAlternateKeyMask flags)))
    916921           (call-next-method event))
    917922          ((or (null view)
Note: See TracChangeset for help on using the changeset viewer.