Thanks Chris,

That got me on the right path. I've added Perl/Unix comments, and also 
enabled toggling. Attaching this as a Menu Script now does exactly what I 
want it to do (Script on Gist <https://gist.github.com/2951789>). Next up: 
support for indented block comments.

I'll file a feature request with BBEdit.

Thanks for all your help.

Shiran

On Friday, June 15, 2012 9:55:10 AM UTC-4, Gingi wrote:
>
> When I try to comment an indented block of code, BBEdit inserts the 
> comment characters at the beginning of the line instead of at the 
> indentation point. How do I change that behavior? I can't find any setting 
> for controlling this anywhere.
>
> Example:
>
>         This is a comment
>
> Pressing ⌘/:
>
> //        This is a comment
>
> Desired behavior:
>
>         // This is a comment
>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to