[racket] How to read custom editor-snip% from WXME file

From: Nick Main (david.nick.main at gmail.com)
Date: Wed Jul 24 19:20:54 EDT 2013

Thanks for the suggestion.

I did think about using a surrogate to wrap the existing "wxmedia" object -
but that would not help me instantiate the custom snip.

I have a cut-n-paste version working, although it seems that editor-snip-class%
has access to hidden methods of editor-stream-in% and editor-snip% - so I
have to gloss over some of the logic.

On Wed, Jul 24, 2013 at 3:34 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> I'm not sure that this is a good answer, but you could use
>   (send (get-the-snip-class-list) find "wxmedia")
> to get an instance of `editor-snip-class%'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130724/35090add/attachment.html>

Posted on the users mailing list.