Hello All,
I’ve found it useful and run to have a bunch of tabs loaded with code
and start them to mix and match. Is there a way to stop a specific tab?
Of course pressing stop stops all tabs. There’s various ways I’ve seen
to put stop in the code and then rerun that tab. Can I request that a stop
button for the currently viewed tab be added sometime?
I don’t think that can be done, as a tab simply is a buffer which is parsed and executed when you press run and starts various threads running. You can have several buffers running simultaneously. You can only stop all the running threads, although you can include code to stop a specified thread when a specific condition is met, eg in a loop stop if get(:kill)
which will stop the loop if get(:kill) is true.