Lisp HUG Maillist Archive

Getting the last gesture within editor:defcommand

Hello lispworkers,

Is there any way to find the shortcut that has invoked the Editor command
within the scope of defcommand.
I mean something like editor:*last-gesture* in the following hypothetical
code.

(editor:defcommand "My Command" (p) "" ""
  (declare (ignore p))
  (my-handler (editor::current-editor-pane) editor:*last-gesture*))

--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:36 UTC