[plt-scheme] canvas editor with text-editor snips?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sun Sep 16 10:01:26 EDT 2007

By drawing operations, you're referring to things like drawing lines
and circles and curves etc? For that you want a dc. To get one, either
override the on-paint method in the editor (text or pasteboard) or in
the display of the editor (editor-canvas or editor-snip).


On 9/16/07, harsha <harsha.v.r at gmail.com> wrote:
>  hi,   i am trying to rewrite a mind-mapping program (kdissert/semantik) in
> drscheme and then make it more flexible.
>     what the application will need is a canvas with a lot of boxes with text
> in them and edges connecting the boxes. occasionally i will need an
> text-editor snip, to create a new box of text or edit an existing one. and,
> the boxes of text need to be draggable.
>  MrEd, right now has two types of editors - text and pastebox, and both dont
> seem to support drawing operations. I am writing to ask if anyone has
> implemented a canvas editor so far. or maybe, there is some other way to
> implement this functionality? i tried drawing a text-editor snip directly
> onto the dc of a canvas using draw, but that didn't seem to work.
> harsha.
>     screenshots :
>    http://freehackers.org/~tnagy/kdissert.html
> http://www.esnips.com/doc/824f6991-2909-4592-8542-77761a04cedf/Screenshot-1
>    (there is an option to view at original size)
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.