[racket-users] current-text-keymap-initializer problems in v6.2.1

2015-11-25 Thread Lehi Toskin
I've been messing around with GUI programming and I came across current-text-keymap-initializer which, according to the documentation, may accept a procedure that itself takes a single parameter (a keymap%). Now, I've tried to invoke this via `(current-text-keymap-initializer (lambda (keymap)

Re: [racket-users] current-text-keymap-initializer problems in v6.2.1

2015-11-25 Thread Matthew Flatt
I'm not able to replicate that problem, but I'm unclear on where `init-editor-keymap` comes from. Is that something in your code? The function for the `current-text-keymap-initializer` parameter really should accept a single argument, so the contract error in the second case below makes sense.