Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-21 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 20:30, Robby Findler wrote: On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v,

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-21 Thread Robby Findler
On Fri, Oct 21, 2011 at 3:55 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 20:30, Robby Findler wrote: On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, On 10/18/11 17:10, Matthew Flatt wrote: At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: the attached program draws a grid in a canvas and paints a few of the cells so created. When resizing the window, the grid is also dynamically

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 14:53, Matthew Flatt wrote: At Thu, 20 Oct 2011 11:16:59 +0200, Marijn wrote: Could you perhaps comment on the slowness of the cursor appearing in a clicked cell? It seems to have something to do with the timer frequency, because if I

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Matthew Flatt
At Thu, 20 Oct 2011 17:58:08 +0200, Marijn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 14:53, Matthew Flatt wrote: At Thu, 20 Oct 2011 11:16:59 +0200, Marijn wrote: Could you perhaps comment on the slowness of the cursor appearing in a clicked cell? It seems to have

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those menus come in via a frame. I'm not sure how you're using your library, but you might want to consider some of the mixins in the framework whose names start with frame:.

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 18:12, Matthew Flatt wrote: At Thu, 20 Oct 2011 17:58:08 +0200, Marijn wrote: Another thing. How do you enable simple select/copy/cut/paste behavior with standard key-bindings in an editor? Apply `(current-text-keymap-initializer)'

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those menus come in via a frame. I'm not sure how you're using your library,

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-19 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/18/11 17:10, Matthew Flatt wrote: At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: the attached program draws a grid in a canvas and paints a few of the cells so created. When resizing the window, the grid is also dynamically resized

[racket-dev] while resizing drawing into a canvas is off

2011-10-18 Thread Marijn
Dear list, the attached program draws a grid in a canvas and paints a few of the cells so created. When resizing the window, the grid is also dynamically resized together with the coloring of a few painted cells. Everything seems to work fine, except that while the window is being changed in size

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-18 Thread Matthew Flatt
At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote: the attached program draws a grid in a canvas and paints a few of the cells so created. When resizing the window, the grid is also dynamically resized together with the coloring of a few painted cells. Everything seems to work fine, except that