[plt-scheme] GUI guides?

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Mon Jul 6 08:56:38 EDT 2009

On Sun, Jul 5, 2009 at 11:34 PM, Hugh Myers<hsmyers at gmail.com> wrote:
> Here is what I had in mind as an example for 'editor':
>
> Given:
>
> (define f (new frame% [label "Simple Edit"]
>                       [width 200]
>                       [height 200]))
>
> (define c (new editor-canvas% [parent f]))
> (define t (new text%))
> (send c set-editor t)
>
> How do I programatically:

Another one:

Define a 'language-mode' that provides indentation and highlighting
for the text that's written?
[or for emacs fans: how to I define a 'major-mode' for an
editor-canvas in PLT-Scheme?]

-- 
Paulo Jorge Matos - pocmatos at gmail.com
http://www.pmatos.net


Posted on the users mailing list.