Thread: html tidy
View Single Post
Old 02-08-2013, 12:06 PM   #39
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by exaltedwombat View Post
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
Code:
<!-- \1 -->
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.)
st_albert is offline   Reply With Quote