Re: Change CSS comment formatting to maintain single line
Jim Correia <correia <at> barebones.com>
2007-03-02 18:39:38 GMT
On Mar 2, 2007, at 1:32 PM, Brad Ummer wrote:
> First, I apologize for the delayed response- I'm in digest mode.
> Thanks for the suggestions. Regarding the fact that I cannot do
> what I want by default since I'm using Cmd-L to select the entire
> line, this inability is new to (or at least a change with) recent
> versions of BBEdit. I have an older version of BBEdit (8.2.6)
> running on a old computer (OSX 10.3.9), and doing Cmd-L followed by
> Un/Comment selection works exactly as I want
On my machine, 8.2.6 behaves the same as 8.6.1.
> the starting and ending comments are all on the same line. However
> on my new computer (BBEdit 8.6.1 on 10.4.8) doing the exact same
> procedure results in the command being on three lines. On that
> older BBEdit I had the commenting set (under Tools > Un/Comment
> Settings) such that the starting and ending tags were specified.
> As I noted previously, the preferences in the current version of
> BBEdit doesn't list anything for the CSS starting and ending tags,
> and the boxes are actually grayed out.
> I guess my question is simply can I get the old functionality back?
With 8.6.1, there is no configuration option which will do what you
want; you'll have to use a script or #! filter.
BBEdit will put the comment delimiters on separate lines for when the
comment is at least one line long, and will put them on the same line
for a partial line CSS comment.