The uncomment routine in the script editor only operates on lines which have two hyphens preceeded by zero or more spaces. This check seems to work fine. But the code then simply deletes the first two characters from any line that passes this check.
In consequence, if you use the comment routines to comment a block of code, and immediately uncomment, it works. Comment, then tab to reflow the code - if the comment was inside a code construct, it will be indented by some multiple of two spaces; so then use uncomment, and it may not work, instead just removing two spaces at the start of each line. So you may need to repeat the uncomment multiple times to get the lines uncommented. Less common but more serious, if you have an odd number of spaces before the two hyphens, then using uncomment will (when repeated enough) leave a single hypen, making a syntax error. Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 _______________________________________________ improve-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/improve-revolution
