[racket] line numbers in drracket

From: Stephen De Gabrielle (stephen.degabrielle at acm.org)
Date: Sat Sep 18 04:17:51 EDT 2010

I'm new this myself, but I've had some luck working stuff out by
reading the Framework source. I briefly had a look after reading the
elastic-tab-stops thing (Grant?). Changing it may be a necessity for
this.

S.

On Friday, September 17, 2010, Jon Rafkind <rafkind at cs.utah.edu> wrote:
>  I took a stab at adding line numbers to DrRacket. I started with this code from Grant Rettke: http://www.wisdomandwonder.com/link/1808/adding-a-gutter-to-drscheme 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?
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>

-- 

--
Stephen De Gabrielle
stephen.degabrielle at acm.org
Telephone +44 (0)20 85670911
Mobile        +44 (0)79 85189045
http://www.degabrielle.name/stephen


Posted on the users mailing list.