Yeah, current one is just
local function preset_help_tooltip(code)
if not code
then code = '-- [ left-click to save script here ] --'
else code = code:match('^%s*(.-)%s*$')..
'\n-- [ left-click - load, right-click - clear ] --' end
return code
end
Guess I'll add matching for some short comment-tag-lines like "-- desc: ..." and print them all instead, and if none, snip the code.
Bold or otherwise rightlighted is also a good idea, but don't like confirmations of any kind myself - they are super-annoying, often look like a repeated insult to users' mental capacity on a daily basis, and destroy any kind of productivity for people who don't have the issue.
It's possible to make deletion work on ctrl+right-click or something complicated like that, but I think it's hard to mistake left from right mouse button already, so it shouldn't help much, if the issue is just people confusing load and delete actions.
I also think it's a problem that doesn't need solving - non-fatal mistakes make you learn really fast, like if you loose a lot of code due to lack of backups or clicking "delete all" accidentally, or compose an essay in a browser, etc - and protecting from them does no one (except rare people with legitimate disabilities) any favors.