If you've selected the entire line with cmd-L then it will put the
comments outside the line breaks resulting in three lines. To limit the
comments on a single line you need to select just the text without the line
breaks.
Instead of cmd-L try... cmd-RightArrow, then cmd-Shift-LeftArrow, then
Comment.
Otherwise, you could build your own custom comment action. Set-up a
custom script or text factory to basically do a short search/replace to insert
comment tags inside your first/last line breaks - then set a menu key for that.
- 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]>