[plt-scheme] Control+Backspace as backward-kill-word?

From: Elena Garrulo (egarrulo at gmail.com)
Date: Wed Jul 8 04:47:50 EDT 2009

Hello,

I'd like to have Control+Backspace remapped as backward-kill-word. Following
advice found over the net, I've tried both these snippets of code, which not
work:

#lang s-exp framework/keybinding-lang
(keybinding "c:del" (λ (editor evt) (send editor backward-kill-word)))

#lang s-exp framework/keybinding-lang
(keybinding "c:del" (lambda (editor event)
                    (send
                        (send editor get-keymap)
                        call-function
                        "backward-kill-word"
                        editor event #t)))

Any help? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090708/1e301b4e/attachment.html>

Posted on the users mailing list.