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

Elena Garrulo egarrulo at gmail.com
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://list.cs.brown.edu/pipermail/plt-scheme/attachments/20090708/1e301b4e/attachment.html


More information about the plt-scheme mailing list