hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.33k stars 289 forks source link

Yellow paste-this-code button in Cheatsheet #5652

Open AnneliesVlaar opened 4 months ago

AnneliesVlaar commented 4 months ago

In https://github.com/hedyorg/hedy/pull/5648#issuecomment-2209078471 we discussed pasting behaviour of a paste button (Paste at the end? Paste at the cursor?)

The yellow button in the example code removes the existing code and then pastes the example code. For example code that behaviour is fine I guess.

But in the cheat sheet, you might only want a copy button. Because right now when you want to cheat, push the yellow button, all your hard work is gone.