[plt-scheme] GUI editor simple example
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 control the initial font?
How do I insert a line of text? Lines?
These are things I expected to find in section 1.3 Editor of the docs.
I can see references to things that I am sure are connected to these
questions; snips and styles, but neither nor example sufficient to do
the deed. I'm sure that I'm looking in the wrong place but I've no
idea of where else to look in the 400+ page document. Tips?
Suggestions? Links?
--hsm