sorawee
2020-1-20 21:47:47

So, I want to use expandable-snip%. I run (new expandable-snip%) and it errors with write-snips-to-file: snip has no snipclass. What do I do?


sorawee
2020-1-20 21:48:39

I tried using set-snipclass with a fresh snipclass. Doesn’t work. I tried adding the current snipclass to (get-the-snip-class-list). Doesn’t work.


sorawee
2020-1-20 21:50:48

Note that if I show expandable-snip% inside a frame, it works fine. It only doesn’t work when I tried to display it on the REPL panel directly.


alexharsanyi
2020-1-20 22:34:56

This is just a guess, but it is possible that the copy method for expandable-snip% is not implemented, or implemented incorrectly. Before a snip is displayed in the DrRacket REPL, it is copied first, and the copy displayed.


sorawee
2020-1-20 22:43:51

Thanks! Will try and will report back


aznthanh23
2020-1-21 02:35:34

@aznthanh23 has joined the channel