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

Re: sites in 10

2011-07-24 Thread Gabriel Roth
On Sun, Jul 24, 2011 at 4:31 AM, Ken Lanxner k...@simplelives.com wrote: How do you set the default site now in v. 10? I'm sure it is right in front of my eyes. Scripts Menu Web Sites Change Default Site. -- You received this message because you are subscribed to the BBEdit Talk

Re: sites in 10

2011-07-24 Thread Gabriel Roth
On Sun, Jul 24, 2011 at 7:40 AM, John Delacour johndelac...@gmail.com wrote: I have no such script.  If I did, I guess it would look something like this: Huh. I know I didn't put mine there. Anyway, it looks like this: (* Demonstration of how to change the default web site with

Re: BBEdit not setting execute bit

2011-07-21 Thread Gabriel Roth
I don't know if this will fix your issue, since I haven't used Lion or BBE10 yet, but when I want to make a file executable, I have to remove the string 'TEXT' from the file type field. (I use Path Finder to do this—I don't remember how you'd do this in the Finder or Terminal.) Give it a try.

Simple BBEdit script: Scroll to top of file

2011-07-19 Thread Gabriel Roth
I'm sure this is an easy one for anyone conversant with AppleScript or shell scripting BBEdit, but after some poking around I can't make it work. I want a script that will jump to the top of the frontmost BBEdit document—exactly like using the menu command Go To Line... and typing 1. (I'm looking

Re: Simple BBEdit script: Scroll to top of file

2011-07-19 Thread Gabriel Roth
Perfect, thanks. On Tue, Jul 19, 2011 at 1:21 PM, Rich Siegel sie...@barebones.com wrote: On Tuesday, July 19, 2011, Gabriel Roth gabe.r...@gmail.com wrote: I'm sure this is an easy one for anyone conversant with AppleScript or shell scripting BBEdit, but after some poking around I can't

Re: PHP syntax checking

2011-05-10 Thread Gabriel Roth
Also, and speaking of Gruber, you can use color themes in BBEdit using BBColors: http://daringfireball.net/projects/bbcolors/ On Tue, May 10, 2011 at 10:24 AM, Roland Küffner medienmeis...@googlemail.com wrote: Am 09.05.2011 um 07:27 schrieb crag: The one thing I miss from Textmate (ok the

Re: BBEdit Language Module for ExpressionEngine

2011-05-05 Thread Gabriel Roth
Just FYI, feature requests should be directed to supp...@barebones.com. I've found them to be very responsive to mail sent to that address. On Wed, May 4, 2011 at 3:57 PM, bwy bluewildyon...@gmail.com wrote: I'd like to add my wish for this as well. On Apr 30, 4:08 am, Gary Cheeseman

Re: Can BBEdit run a command/script on document save?

2011-04-26 Thread Gabriel Roth
The ideal thing for me would be if I could run the entire test suite each time I save a file from BBEdit. One partial solution would be to reassign the keyboard shortcut Command-S to a script that saves the file and then runs the test suite. It wouldn't literally do what you're asking—for

Re: Possible, worthwhile to port Solarized for use with BBEdit?

2011-04-10 Thread Gabriel Roth
It looks to me like BBColors is looking for your BBEdit preferences file and failing to find it. Is there something unusual about your BBEdit installation? Under 'normal' circumstances, if your user account is 'Govinda', there's a file at

Re: Possible, worthwhile to port Solarized for use with BBEdit?

2011-04-03 Thread Gabriel Roth
Thanks for sharing these. I find that the generic foreground text in Dark mode is very close to the background, making it hard to read. Screenshot showing what I'm seeing attached, for anyone who cares. On Sun, Apr 3, 2011 at 7:04 AM, Steve Hodgson st...@shodgson.org.uk wrote: I've had a go

Re: Possible, worthwhile to port Solarized for use with BBEdit?

2011-04-01 Thread Gabriel Roth
I use BBColors, and it's worked well for me in the past, although I don't think I've switched color schemes since the current version. If you do make a Solarized theme, I'd like to try it out. It's a bit surprising that Bare Bones hasn't yet added color theming as a built-in feature ... On

Re: dropping support for 32-bit Intel Macs

2011-03-11 Thread Gabriel Roth
Sorry, but I'm finding it hard to see what this has to do with BBEdit. On Fri, Mar 11, 2011 at 4:16 PM, kastorff kasto...@gmail.com wrote: I'm sorry to hear that NetNewsWire is dropping support for 32-bit Macs because Flash behaves better on 64-bit machines. In my over 4 year experience with

BBEdit/Xcode integration

2011-02-10 Thread Gabriel Roth
Hello all. I'm dipping my toe into Cocoa programming. Ideally, I'd like to use BBEdit along with Xcode, because BBEdit is 'my' editor: I'm used to it, I've got it tweaked to my liking, etc. I've set Xcode to open source code files in BBEdit, so that's nice. But the experience of using the two

Re: Two BBEdit versions (8.7.2 and 9.6.2) how to separate prefs ?

2011-01-19 Thread Gabriel Roth
Is there a way to separate preferences for the two versions ? The application rooSwitch (http://rooswitch.com/) may help with this. gr. -- 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

Re: feature request: distinguish remote documents in text window

2011-01-03 Thread Gabriel Roth
I'd like to be able to clearly distinguish the remote documents from the local documents (italic, bold, color, anything). Wow, that's a good idea. Use case: Today a client asked me to make a change to a live website. I opened the relevant files on my local copy of the website, tried a few

Re: Scratchpad like window for Unix Script Output?

2010-12-21 Thread Gabriel Roth
I had never thought of these features, but now that you suggest them I can see how they would be very useful. On Tue, Dec 21, 2010 at 1:53 PM, Matt Martini matt.mart...@gmail.comwrote: I agree, these are two things that I've wanted for a long time. Matt On Dec 21, 2010, at 1:21 PM, David

Re: Color markup php+html

2010-12-17 Thread Gabriel Roth
When I'm coding php mixed with html, like this; div class=span-14 id=content-standard?=$style_variant? the starting and closing php thing (?/?php and ?) isn't displayed with color red, as it normally does. Try coding the html correctly. You have not closed the ID tag so it sees the php as

Re: Using Typekit with BBEdit preview

2010-11-08 Thread Gabriel Roth
Replying to my own message from a month ago, for the benefit of future Googlers: I'm developing a web site using Typekit, which handles web fonts. I'd like to use the BBEdit web preview. Unfortunately, I can't get Typekit to work in the preview window. I've got BBEdit configured to preview the

Re: reg; vs (R) and creating shortcuts to submenu

2010-11-07 Thread Gabriel Roth
is there way to create a shortcut key to the Reflow Document submenu in BBEdit? For the most part (and in this instance), you create shortcut keys for BBEdit in Preferences Menus. Here you'll find a list of BBEdit's menus. Look for Tidy and click the disclosure triangle—you'll see Reflow

Re: i vs em and b vs strong

2010-11-07 Thread Gabriel Roth
I was just trying to save 2 steps since there are hundreds of pages. It sounds like a Text Factory might be useful to you. It would allow you to combine all your steps into one, and then run it against hundreds of documents in one fell swoop. -- You received this message because you are

Re: edit list to be four tabbed fields per record

2010-10-28 Thread Gabriel Roth
Search for: (.*)\r(.*)\r(.*)\r(.*)\r Replace with: \1\t\2\t\3\t\4\r Make sure 'Use grep' is checked and run 'Replace all.' On Thu, Oct 28, 2010 at 1:55 PM, direwolf direwolf.gh...@gmail.com wrote: Hi everyone, I've got a list of codes in a text file. Each code is a separate record (on a

Re: edit list to be four tabbed fields per record

2010-10-28 Thread Gabriel Roth
Gotta get myself a good grep tutorial. If you select 'Tutorial' from BBEdit's Help menu, there's a pretty good introduction to many features. Grep is covered in the section called 'Finders, Keepers.' Once you've worked through that, chapter 8 of the BBEdit user manual is a very readable

Using Typekit with BBEdit preview

2010-10-24 Thread Gabriel Roth
Hi. I'm developing a web site using Typekit, which handles web fonts. I'd like to use the BBEdit web preview. Unfortunately, I can't get Typekit to work in the preview window, although Typekit works fine on the same domain in Safari and Firefox. I've got BBEdit configured to preview the page via

Re: Grep search sequence and scripting?

2010-10-23 Thread Gabriel Roth
Can anyone advise where I can find out how to do this in the BBEdit context? Sounds like you want Text Factories. See page 127 in the manual. -- 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

Re: Text Factory

2010-10-14 Thread Gabriel Roth
Let me add one thing to Patrick's answer: All the functions that a Text Factory can perform can also be performed one at a time, using the appropriate menu command. So a good way to construct a Text Factory is to take a representative file, play with the relevant commands (using Undo where

Re: Move insertion point to next carriage return in soft-wrapped text

2010-10-12 Thread Gabriel Roth
Yentzer r...@forbenmedia.com wrote: Excellent tip. Thanks. -- Rick On Oct 12, 2010, at 12:32 AM, Christopher Stone wrote: On Oct 11, 2010, at 23:04, Gabriel Roth wrote: But what if I want to move the cursor to the end of the actual, conceptual line, i.e. to the next occurrence of a carriage

Re: Multi Find and replace

2010-09-27 Thread Gabriel Roth
I would like to find and replace monday with every other day of the week without entering each day in and doing a find and replace for each day one by one. Is there some sort of mass dump I can use to put all the days as replacements and generate the list with all days involved? it sounds

Re: How To Use Grep To Change Beginning And Ending Text Only

2010-09-27 Thread Gabriel Roth
Anyway, thanks for the grep tip. It works perfectly. You're welcome. Glad it works. The only thing that I had to do was escape the three ampersands in the replacement string, as otherwise, I get undesirable results. Ah yes. I, uh, deliberately left those in there as an educational exercise

Re: How To Use Grep To Change Beginning And Ending Text Only

2010-09-21 Thread Gabriel Roth
Change your replacement pattern to: h2nbsp;nbsp;nbsp;\1/h2 The \1 here means the first parenthetical sub-pattern in the Find pattern. I strongly suggest that you read Chapter 8 of the BBEdit manual, which provides a very useful introduction to grep. The relevant section here is 'Writing

Re: Replace to End

2010-09-17 Thread Gabriel Roth
With one mental toe out of the box: How difficult would it be to allow the user to customize his dialog boxes? Many applications allow you to do this with other user interfaces. You can just drag the things you want to the interface in question and they are there. Are dialog boxes

Re: alphabetically arranage a project window's content's?

2010-08-22 Thread Gabriel Roth
Well in my case the project's contents are docs that are located in lots of different folders.. so I cannot see all the items sorted in one list like that. You may have thought of this, but you can always assign a unique colored label to all the documents and then create a Smart Folder

Unable to make 'Use Local Preview Server' work

2010-08-21 Thread Gabriel Roth
I'm using OS X 10.6.4 and BBEdit 9.5.1. I use OS X's built-in Apache server to test and develop PHP sites on my local machine. My setup goes like this: -- create a new folder in ~/Sites called newsite.dev -- edit my .hosts file to redirect requests for http://newsite.dev to localhost -- edit 

Re: Unable to make 'Use Local Preview Server' work

2010-08-21 Thread Gabriel Roth
://localhost/ Anyway, I'm glad to have this working. BBEdit gets more useful the more effort you put into understanding its advanced features. gr. On Sat, Aug 21, 2010 at 5:33 PM, Gabriel Roth gabe.r...@gmail.com wrote: I'm using OS X 10.6.4 and BBEdit 9.5.1. I use OS X's built-in Apache server

Re: CMS with Live BB Preview

2010-08-10 Thread Gabriel Roth
What is unsatisfying to you about the 'Use Local Preview Server' option, as described on page 221 of the manual? On Tue, Aug 10, 2010 at 4:38 AM, nutmeg stu...@stovepot.com.au wrote: Hi Mac, I might have to clarify my initial question as I am a long term user of MAMP-PRO. What I am

Re: CMS with Live BB Preview

2010-08-09 Thread Gabriel Roth
Has anyone figured out how we can use BB, live coding (local webdav) a php driven CMS, using BB preview? (ExpressionEngine / Wordpress, etc) I'm away from my computer and don't have access to the BBEdit manual right now, but the short version is that you'll want to configure OS X's built-in

Re: Newbie: Scripting a better HOME button?

2010-07-31 Thread Gabriel Roth
I never would have thought of this feature if not for this thread, but I really like it. Thanks to the original poster, and to everyone who contributed to this script, which I've now got bound to Command-Left. On Sat, Jul 31, 2010 at 6:47 PM, Kendall Conrad angelw...@gmail.com wrote: With

Re: Newbie: Scripting a better HOME button?

2010-07-29 Thread Gabriel Roth
BBEdit User Manual - Use Numeric Keypad for Cursor Movement No need to script stuff that already works. The original poster wants to be able to move the cursor to a position immediately before the first non-whitespace character of the current line. The best the numeric keypad option can do is

Re: Templates menu not populating

2010-07-23 Thread Gabriel Roth
) and chosen a templates folder for it; the latter may be the factory HTML Templates folder, or any other folder you wish. I will however log a suggestion to present the factory templates (if present) whether or not there's a configured site. On Jul 4, 8:17 am, Gabriel Roth gabe.r

Templates menu not populating

2010-07-04 Thread Gabriel Roth
I click File New HTML Document... The New HTML Document panel appears. At the bottom is the pulldown Template menu. The only item available in this menu is 'Default.' I check inside the folder ~/Library/Application Support/BBEdit/HTML Templates. There are several templates there, including

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-10 Thread Gabriel Roth
Now I guess I move on to text factories so I can hit several files with this approach. Actually, you can do that with the Multi-File Search command, in the Search menu. On Jun 3, 10:41 am, Bruce Van Allen b...@cruzio.com wrote: On 2010-06-03, Nick A wrote: Now I'm stuck with a

Re: php default

2010-06-05 Thread Gabriel Roth
it wld be nice if the default language was php: can i make it so when i open a new doc ? Go to Preferences Languages. Select PHP. Click 'Make Default.' -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Gabriel Roth
Nick— In case you don't know: the suggestions from Alex and Kendall use grep, which is a powerful way of finding characters that match specified patterns. To use it, you'll want to enter the pattern in the 'Find' dialog and make sure that the 'grep' box is checked. For more information on grep,

Re: Is there a way to preserve a given document's window size and position?

2010-05-27 Thread Gabriel Roth
Possibly. The Save Default Window command works per window type. So, if you make your shell output window the way you want it, then Save Default Window, the shell output will retain that shape, but documents will have their previous shape. Thanks for the response. Unfortunately, the Save

Re: Sorting Titles with sort lines regex

2010-05-26 Thread Gabriel Roth
Doesn't \s+? mean the white space is optional? No. The plus-sign means 'one or more.' The question-mark makes it 'non-greedy.' So \s+? will match the first instance of one or more whitespace characters -- i.e. the first whitespace character. The quantifier for 'zero or more' is the asterisk.

Is there a way to preserve a given document's window size and position?

2010-05-26 Thread Gabriel Roth
Is there a way to make BBEdit preserve a document's window size and position? I have my default window set to the full height of the screen, but there are certain files (Unix Script Output, for example) that I prefer to have tucked away in a corner at half-screen height. So far I can't find a way

Re: Basic grep question

2010-05-24 Thread Gabriel Roth
s -- By default, the magic dot metacharacter . matches any character except return (\r). If you turn this option on with (?s) , however, dot will match any character. Thus, the pattern (?s).+ will match an entire document. Thanks very much. -- You received this message because you are

Basic grep question

2010-05-22 Thread Gabriel Roth
Is there a grep special character that matches any character including a line break? I find myself using (\s|\S) and suspect that there must be a shorter way. -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group,

Display number of characters in selection

2010-05-15 Thread Gabriel Roth
Hello all. Does anyone know of a way to make BBEdit display the number of characters in the current selection? -- 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

Re: Display number of characters in selection

2010-05-15 Thread Gabriel Roth
Partial answer to my own question: On Sat, May 15, 2010 at 1:35 PM, Gabriel Roth gabe.r...@gmail.com wrote: Does anyone know of a way to make BBEdit display the number of characters in the current selection? Clicking on the document statistics in the Status Bar toggles to selection statistics

Re: Display number of characters in selection

2010-05-15 Thread Gabriel Roth
On Sat, May 15, 2010 at 4:35 PM, Marek Stepanek ms...@podiuminternational.org wrote: Try with cmd + i Very nice—thank you. -- 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

Re: RegEx how to?

2010-05-12 Thread Gabriel Roth
This works on your sample text. Be sure to check it if you use it over a larger data set. Start by searching for the regular expression: # (\d{4}-\d{2}-\d{2})\sItem,Value,Value Percent,Conversions,Conversion Percent,URL,Clicky

Re: new file prefs

2010-05-07 Thread Gabriel Roth
Set up a window the way you want it and go to Window Save Default Window. On Fri, May 7, 2010 at 10:54 AM, code muncher codeoma...@gmail.com wrote: PLEASE PLEASE PLEASE put a preference in to allow the setting of a default document size and/or position. I have a really big monitor and