(hit the wrong reply key, resending it to the list)
Tom Knight wrote:
>> Is there an easy way to put comment in a block of code ?
> The way I do this is by using the block indent feature, first
> highlight the block of code then change the indent char and indent
> space options (from ^T), so for ! comments use indent char = 33,
> indent space = 1 and for
there's another way yet, after selecting a block, you can also search
for line breaks ("\n" here) and replace all occurences in the block
("rk") with line-break-followed-by-chars ("\n//" or whatever it is for
your system and language). Be sure to put the cursor before the block
before doing the search. You might want to say 'yes' to one replace and
check the result before doing the rest with 'r'.