Yep, can confirm keybindings doing editor% sends are now working.<div><br></div><div>Thanks.<br><br><div class="gmail_quote">On Sat, Oct 27, 2012 at 11:34 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the example! I've pushed a repair.<br>
<br>
At Sat, 27 Oct 2012 20:56:03 -0500, Robby Findler wrote:<br>
> Okay, it looks like on-subwindow-char is not being called properly<br>
> anymore. Here's a small program that illustrates the problem. It<br>
> prints out the frame, but I think it should print out the<br>
> editor-canvas. This seems to be linux specific.<br>
><br>
> #lang racket/gui<br>
><br>
> (define f%<br>
> (class frame%<br>
> (define/override (on-subwindow-char receiver evt)<br>
> (printf "receiver: ~s\n" receiver)<br>
> #f)<br>
> (super-new)))<br>
><br>
> (define f (new f% [label ""] [width 400] [height 400]))<br>
> (define t (new text%))<br>
> (define ec (new editor-canvas% [parent f] [editor t]))<br>
> (send ec focus)<br>
> (send f show #t)<br>
><br>
><br>
> Robby<br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>