sonic-pi
sonic-pi copied to clipboard
Spider - Only remove one level of comments when uncommenting
Perhaps this is undesirable, but I for one find it frustrating when the uncomment shortcut removes nested comments. E.g. code like this:
##| live_loop :dummy do
##| # play the best note
##| play :c3
##| end
If I uncomment that presently, the nested # in line 2 is also removed. This change will only remove the outermost level of comments (##| or #).