[racket] line numbers in drracket

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Fri Sep 17 17:39:00 EDT 2010

  I took a stab at adding line numbers to DrRacket. I started with this 
code from Grant Rettke: 
which works reasonably well on its own but when I had trouble 
integrating it with DrRacket.

I think the way to go is to extend the definitions-canvas but the issue 
there is I can't seem to add new panel objects to the canvas. I can pass 
the definitions-text% straight through via (super-new [editor editor]). 
I tried making a proxy text%/editor-canvas% combo but I just had the 
same issue of not being able to add any elements to it.

So I guess the question is can I put more gui elements in a canvas?

Posted on the users mailing list.