Quote:
Originally Posted by exaltedwombat
That's the most sensible suggestion yet, and results in exactly what is required!
No big problem entering the comment-out code. But is there a neat way of automating "Select all, comment out"?
|
Well, I have in my clips the code
which will comment out all selected text, but you have to beware that you can't have a comment within a comment, so "select all" followed by commenting it all out may not work if you already have comments within the selected text. (Or maybe even the string '--' (w/out quotes), for that matter.)