Re: Block commenting

2012-06-25 Thread Gingi
I have a menu script that does this: https://gist.github.com/2951789 I wrote it with much help from Christopher Stone. It toggles comments so both commenting and uncommenting. Cheers, Shiran -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Goog

Re: Block commenting

2012-06-23 Thread John Delacour
At 12:11 -0700 22/6/12, Emmanuel Décarie wrote: I want this: // if ($operateur == "!") { // if ($reponses_utilisateur[$T][$CT] != $reponse) { // return 1; // } else { // return 0; // } // } Try this text filt

Re: Block commenting

2012-06-22 Thread Emmanuel Décarie
BTW, I saw this script and tried it. Unfortunately, either with spaces or tabs, it confuses BBEdit when using the "Uncomment selection" menu, the selection loose the indentation and is not properly uncommented (some comment characters stays). https://groups.google.com/d/msg/bbedit/ix8AGvrb0-g

Block commenting

2012-06-22 Thread Emmanuel Décarie
Hello, Before I roll my own script, I can't find a way, when selecting a block of code, to have the comment close to each character instead of at the beginning of each line. I looked at the experts preferences and can't find a way to set what I want. Instead of having this: // if ($op