Feature request to allow the script examples to be viewed without automatically replacing the current script contents. One accidental click can wipe out current work if not careful. I know, save often, but sometimes in the heat of development accidents can happen.
Suggest using a sheet to display the example, allow scrolling and copying, and having a ‘replace’ button to write the example code into the Script code buffer. Or go without a button and just rely on copy/paste to move the example code into the Script code buffer.