Here's a script you can use with a whole line selected - easier than 
setting up a replace. 
        
tell application "BBEdit"
        activate
        add prefix and suffix selection of text window 1 prefix "/* " suffix " 
*/"
end tell

        - Den.
        
3/1/07 12:57 PM: [EMAIL PROTECTED] (Brad Ummer) apparently typed...
>I'm sorry if this has already been answered, but I searched through the manual 
>and the listsearch for the mailing list doesn't seem to be working right now 
>(Internal server error).  When I apply the Un/Comment selection to a single 
>line in a .css file, it makes the comment into three lines, but I'd rather it 
>all 
>stayed as one line.  For example, if I have this line:
>
>font-size:18px;
>
>and select the entire line (using Cmd-L) and then do Un/Comment selection, I 
>end up with this:
>
>/*
>font-size:18px;
>*/
>
>whereas I'd rather have this:
>
>/* font-size:18px; */
>
>I tried to change this functionality via "BBEdit Preferences > Languages > 
>Installed languages > CSS > General" where there is a setting to change the 
>comment start and end, but it's greyed out.  Is there some other way to change 
>this?  Thanks.
>
>- Brad Ummer
>

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to