Re: Indented comments

2012-06-15 Thread Christopher Stone
On Jun 15, 2012, at 08:55, 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.
__

Hey There,

There are a few expert settings (in the help) that affect comments, but I don't 
think any of them do what you want.  It's easy to script though:

tell application "BBEdit"
tell front text window's selection
replace "^([ \\t]*)(.+)" using "\\1// \\2" options {search 
mode:grep, case sensitive:false}
end tell
end tell

--
Best Regards,
Chris

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Re: BBEdit looks quite bad on Retina MBP

2012-06-15 Thread Gabriel Roth
> No; we're using ATSUI, the other "modern" rendering API.

An article at 
http://www.appleinsider.com/articles/12/04/18/apple_issues_xcode_44_developer_preview_3.html
states:

> The [Xcode release] notes also cautioned that performance of ATS APIs will 
> suffer in OS X 10.8 because the ATS.framework is being deprecated. Developers 
> are instructed to replace all their ATS code with CoreText as it will be 
> removed in future OS X releases.

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Re: BBEdit looks quite bad on Retina MBP

2012-06-15 Thread Rich Siegel
On Friday, June 15, 2012, mason k  wrote:

> That's interesting.  Most other apps that use Apple's text rendering
> look fantastic at all scalings.  You're really just using the Cocoa
> text rendering API to render?

No; we're using ATSUI, the other "modern" rendering API.

> Do you know why BBEdit is locked into running in low resolution mode
> on this computer? "Run in Low Resolution" is checked and disabled in
> Get Info.

I have no idea. :-)

R.
-- 
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they sedate me.

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Re: BBEdit looks quite bad on Retina MBP

2012-06-15 Thread mason k
That's interesting.  Most other apps that use Apple's text rendering look 
fantastic at all scalings.  You're really just using the Cocoa text 
rendering API to render?

Do you know why BBEdit is locked into running in low resolution mode on 
this computer? "Run in Low Resolution" is checked and disabled in Get Info. 

On Friday, June 15, 2012 4:56:13 PM UTC-4, Rich Siegel wrote:
>
> On Friday, June 15, 2012, mason k  wrote: 
>
> > Hi guys, this just a heads up that BBEdit text aliases on a RMBP even 
> > on "Best for Retina" mode. 
>
> You will probably have to report a bug to Apple; it's their text renderer. 
>
> R. 
> -- 
> Rich Siegel Bare Bones Software, Inc. 
>    
>
> Someday I'll look back on all this and laugh... until they sedate me. 
>
>

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Re: BBEdit looks quite bad on Retina MBP

2012-06-15 Thread Rich Siegel
On Friday, June 15, 2012, mason k  wrote:

> Hi guys, this just a heads up that BBEdit text aliases on a RMBP even
> on "Best for Retina" mode.

You will probably have to report a bug to Apple; it's their text renderer.

R.
-- 
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they sedate me.

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


BBEdit looks quite bad on Retina MBP

2012-06-15 Thread mason k
Hi guys, this just a heads up that BBEdit text aliases on a RMBP even
on "Best for Retina" mode.  Not only that, but there is colored
haloing around the text on certain scaling factors, e.g. 1920.

The best scaling factor is actually the second largest for my chosen
font size, 18pt.  But, it's not pretty, even there.

For now I am experiment with other options, such as keeping BBEdit on
the second monitor, and (shudder) TextMate (which looks flawless at
all scalings).

I have complete faith in BareBones that they're going to fix this
issue.  I am nervous about the timeframe, though, since replacing the
rendering engine has the potential to be a monstrous task.

Best regards,

Mason

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Indented comments

2012-06-15 Thread Gingi
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: