PDA

View Full Version : comments


Dogfish
09-04-2008, 03:24 PM
In the script editor "comment selection" does not comment out comments. Subsequently, "uncomment selection" uncomments comments so you have to go back and re-comment the comments.

e.g.

// this is a comment
this is code

is transformed to:

// this is a comment
// this is code

and un-transformed to:

this is a comment
this is code


It would be more useful (and simpler, yes?) if "comment selection" and "uncomment selection" were inverse operations.

so

// this is a comment
this is code

gets transformed to:

//// this is a comment
// this is code

and un-transformed to:

// this is a comment
this is code

bmistal
09-05-2008, 12:49 PM
Sure, I've added this to the next beta.

Cheers,
Ben