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 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 wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> >>> Hi Robby, >>> >>> On 10/20/11 18:15, Robby Find

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 wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hi Robby, >> >> On 10/20/11 18:15, Robby Findler wrote: >>> Generally, the -c, -v, keybindings (and >>>

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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Robby, > > On 10/20/11 18:15, Robby Findler wrote: >> Generally, the -c, -v, keybindings (and friends) >> come about via the menus, not via a keymap% object. And those >> menus come in via a fr

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 -c, -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 mi

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-key

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

2011-10-20 Thread Robby Findler
Generally, the -c, -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:". Robby On Thu, O

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 se

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

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

2011-10-20 Thread Matthew Flatt
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 decrease the frequency the first time that the > cursor appears is also sooner after c

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 >> dynamic

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

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 t

[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