Changeset 12098


Ignore:
Timestamp:
May 20, 2009, 11:53:11 AM (10 years ago)
Author:
gb
Message:

In #/keyDown: method: if we can't map the NSEvent to a Hemlock event,
call the next method on the event rather than returning NIL. The intent
is to allow command-key events to be processed by the NSTextView; if
there are issues with this, we might want to only call the next method
if the command modifier bit is set.

File:
1 edited

Legend:

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

    r12070 r12098  
    926926          ((not (eventqueue-abort-pending-p self))
    927927           (let ((hemlock-key (nsevent-to-key-event event quote-p)))
    928              (when hemlock-key
    929                (hi::handle-hemlock-event view hemlock-key)))))))
     928             (if hemlock-key
     929               (hi::handle-hemlock-event view hemlock-key)
     930               (call-next-method)))))))
    930931
    931932(defmethod hi::handle-hemlock-event :around ((view hi:hemlock-view) event)
Note: See TracChangeset for help on using the changeset viewer.