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

2013-07-24 Thread Nick Main
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 edit

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

2013-07-24 Thread Matthew Flatt
At Wed, 24 Jul 2013 15:03:01 -0700, Nick Main wrote: > I created an extended editor-snip% class (also using the graph-snip-mixin) > and put an instance of this on a pasteboard% (altered > via graph-pasteboard-mixin) and then saved the pasteboard to a file. > > Reading this file back into the paste

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

2013-07-24 Thread Nick Main
I created an extended editor-snip% class (also using the graph-snip-mixin) and put an instance of this on a pasteboard% (altered via graph-pasteboard-mixin) and then saved the pasteboard to a file. Reading this file back into the pasteboard fails (no visible errors either). Doing the same with a n