Re: Something changed with grep?

2010-11-21 Thread Steve Samuels
From the release notes (http://www.barebones.com/support/bbedit/ arch_bbedit9.html): Selected text only affects only the Find All and Replace All operations: if there is a selection range in the front document, this option will search only the selection range if turned on, or the entire document

Re: editing css efficiently given BBEdit's auto complete assumptions?

2010-12-21 Thread Steve Samuels
Try logging out and back in. Perhaps the information is cached. On Dec 19, 2:39 pm, RickL ri...@pantheondesign.com wrote: Renaming the files and relaunching BBEdit doesn't seem to change the behavior of the text completion for the individual rules. I'm sure the format is stored somewhere

Re: HOWTO restore the pre-9.6.3 functionality for opening textClipping files

2010-12-24 Thread Steve Samuels
For me, with pre-release 9.6.3 (2885), OS X 10.5.8, PB G4, selecting a clipping with the option key down will open it in a new window, content intact. Steve On Dec 23, 5:24 am, David Kendal davidpk...@gmail.com wrote: BBEdit 9.6.3 removes a feature that, for me at least, was really useful:

Re: HOWTO restore the pre-9.6.3 functionality for opening textClipping files

2010-12-25 Thread Steve Samuels
David privately wrote to me that he meant 9.6.2, not 9.6.3. With the pre-release version of 9.6.3 (2885), OS X 10.5.8, PB G4, if I hold down the option key when I open a clipping from the menu, the clipping document opens in a new window, *with* contents. David reported that this doesn't work

Re: feature request: distinguish remote documents in text window

2011-01-04 Thread Steve Samuels
There are a couple of existing visual cues for documents opened via SFTP: the large BBEdit document icon next to the i button on the tool bar is absent; less helpfully, the document icon itself is subtly different. If you want to close all the open files on the remote SFTP server, you can

Re: Scheme for shortcuts

2011-01-16 Thread Steve Samuels
My Shortcut Scheme: 1. Use as few as possible. Instead: 2. With iKey or other utility assign single letter control-key combos to open menus by their name: ctrl-x where x is a for Apple, f for file, t for text,and so on. I assign c tothe clipping menu and 2 to the scripts menu. 3. Once a menu

Re: Range operations?

2011-03-10 Thread Steve Samuels
Searching for (?s).+?(HELLO) will select all text from the cursor up through the first HELLO and (?s).+?(?=HELLO) will select all text up to first HELLO. Steve On Mar 10, 8:35 am, Simdude markmille...@gmail.com wrote: Thanks Chris. I did know about the selection operations but when you

Re: Range operations?

2011-03-10 Thread Steve Samuels
. Thanks Steve. I have to give this a try as soon as I get home. And I guess it's time to dig into the BBedit docs some more! On Mar 10, 2:35 pm, Steve Samuels sjsamu...@gmail.com wrote: Searching for  (?s).+?(HELLO) will select all text from the cursor up through the first HELLO and (?s

Re: Range operations?

2011-03-10 Thread Steve Samuels
as soon as I get home. And I guess it's time to dig into the BBedit docs some more! On Mar 10, 2:35 pm, Steve Samuels sjsamu...@gmail.com wrote: Searching for  (?s).+?(HELLO) will select all text from the cursor up through the first HELLO and (?s).+?(?=HELLO) will select all text up to first

Re: Range operations?

2011-03-13 Thread Steve Samuels
Mark, your original question was how to select up to the _line_ that contained HELLO. Here is a solution. Exclude the line from the selection: (?s).+?(?=((?-s)^.*HELLO.*$)) Include the line in the selection: (?s).+?((?-s)^.*HELLO.*$) Steve On Mar 10, 5:39 pm, Steve Samuels sjsamu

Re: Range operations?

2011-03-13 Thread Steve Samuels
if the current line contains the text. Steve On Mar 10, 5:39 pm, Steve Samuels sjsamu...@gmail.com wrote: You are welcome, Mark. To give you a head start, with manual references: (?s) extends the search over line endings (p. 188) .+?HELLO searches text up through the first occurrence of HELLO (non

Re: Range operations?

2011-03-18 Thread Steve Samuels
-programming work thanks to Hog Bays Quckcursor. Sort of a Edit in BBedit program that works with any text field. Mark On Mar 15, 1:04 pm, Steve Samuels sjsamu...@gmail.com wrote: To automate the process somewhat, here's an AppleScript that will prompt for the search string. I've provided two

Re: Hotkeys for changing case?

2011-05-22 Thread Steve Samuels
You can assign a hotkey to Change Case in the Menus Preferences.pane (Text Menu).. Steve On May 19, 8:13 pm, rowen ro...@uw.edu wrote: Is there a trick to assigning hotkeys for changing the case of selected text? I realize I can write scripts and assign hotkeys to those, but I'd rather not

Re: Hotkeys for changing case?

2011-05-31 Thread Steve Samuels
with replacing target end if end considering end tell On May 22, 7:21 pm, Steve Samuels sjsamu...@gmail.com wrote: You can assign a hotkey to Change Case in the Menus Preferences.pane (Text Menu).. Steve On May 19, 8:13 pm, rowen ro...@uw.edu wrote: Is there a trick to assigning hotkeys

Re: Hotkeys for changing case?

2011-05-31 Thread Steve Samuels
with replacing target else change case selection of text window 1 making lower case with replacing target end if end considering end tell On May 22, 7:21 pm, Steve Samuels sjsamu...@gmail.com wrote: You can assign a hotkey to Change Case in the Menus Preferences.pane (Text Menu).. Steve On May

Re: Hotkeys for changing case?

2011-05-31 Thread Steve Samuels
 pm, Steve Samuels sjsamu...@gmail.com wrote: You can assign a hotkey to Change Case in the Menus Preferences.pane (Text Menu).. Steve On May 19, 8:13 pm, rowen ro...@uw.edu wrote: Is there a trick to assigning hotkeys for changing the case of selected text? I realize I can write

Re: Text Coloring Question

2011-06-14 Thread Steve Samuels
Steve, Have you seen the section on Syntax Coloring on p. 212 of the Manual? Make sure that Syntax Coloring is checked in the Editor Defaults preference pane. If the built-in c and php coloring doesn't color personally defined variables, then I doubt that it's a do-it-yourself project. On Jun

Another AppleScript 9 to 10 problem

2011-07-21 Thread Steve Samuels
The following script works in 9.6.3 but not in 10. Can anyone suggest a work around? Thanks, Steve - tell application BBEdit set theOriginalFile to file of text document 1 end tell tell application Finder container of theOriginalFile as text end tell

Re: I'm not understanding File Filters

2011-07-21 Thread Steve Samuels
Change the filters to, e.g. file extension is rb (not .rb) Steve The file name does not include the extension. On Jul 21, 4:49 pm, Jason Young jasonadamyo...@gmail.com wrote: I'm trying out BBedit again for the first time since the mid-90's  (insert uphill both ways in the snow story

Re: Stata/R Applescript with BBEdit 10

2011-07-22 Thread Steve Samuels
This is the problem that I reported at http://groups.google.com/group/bbedit/browse_thread/thread/2492bef49ed7cdcc# I just simplified to show the issue for people who don't use the Stata/ R script. On Jul 21, 9:15 pm, Christopher christophgand...@yahoo.com wrote: I just upgraded to BBEdit

Re: Stata/R Applescript with BBEdit 10

2011-07-22 Thread Steve Samuels
Scripts to: 1) send a file to R or Stata and 2) send a selection to Stata in BBEdit 10 are now at: http://www.mediafire.com/?ndchk0imd9u9o Consider the following script. tell application BBEdit set x to file of text document 1 x end tell

Re: Stata/R Applescript with BBEdit 10

2011-07-23 Thread Steve Samuels
Sorry, that was the wrong version. I'll upload again when I get a chance. In the meantime, open the script up in AppleScript Editor and add as alias to the line that begins set the OriginalFile. Hit the compile button. While the script is still open, select some text in your do file and hit the

Re: Stata/R Applescript with BBEdit 10

2011-07-24 Thread Steve Samuels
Great-please do that. On Jul 24, 7:07 am, Christopher christophgand...@yahoo.com wrote: Thanks again Steve, it works now. I've also updated the RSelector script, maybe I can send it to you and you can post them all together? -- You received this message because you are subscribed to the

Re: Stata/R Applescript with BBEdit 10

2011-07-24 Thread Steve Samuels
Great! Thanks! Please send it privately and include your full name. If you are talking about the DoSelectionRorStata script, you should also send it to Josef. I'll send the new versions to John Gardner at DataNinja. Make sure your script still works in BBEdit 9. On Jul 24, 7:07 am,

Re: Per document tab widths

2011-07-26 Thread Steve Samuels
I don't know anything about PHP, but if documents and templates have different file extensions, you could write an attachment script to set tab width to the number appropriate to the extension. Write the script to run when a document is opened or saved. See the Manual section on Using Attachment

Re: Per document tab widths

2011-07-26 Thread Steve Samuels
I don't know anything about PHP, but if the documents and templates have different file extensions, you could write an attachment script to set tab width to the number appropriate to the extension. Write the script to run when a document is opened or saved. See the Manual section on Using

Re: Search and replace multiple combinations at once?

2011-07-27 Thread Steve Samuels
You can use AppleScript, maybe in Version 8 (I don't know), certainly in 9. I opened Script Editor, and recorded a search, then just modified it for the subsequent searches. Be aware that Google's Mailer will break the search lines. Everything from replace... to --End is on one line. -

Re: Per document tab widths

2011-07-28 Thread Steve Samuels
Here's a script that to set the tab width for a document with a dialog. --CODE BEGINS (* Set document tab width in BBEdit Most is copied from Marcus Garvey's message #7 at http://macscripter.net/viewtopic.php?pid=100407 *) tell application BBEdit repeat set dialogResult to (display dialog Enter a

Re: Per document tab widths

2011-07-28 Thread Steve Samuels
I put a script set tab widths via a dialog at: http://www.mediafire.com/?ndchk0imd9u9o -- Steve On Jul 27, 12:11 pm, Rod Buchanan rod_li...@kdsi.net wrote: On Jul 26, 2011, at 8:23 PM, Watts Martin wrote: Kendall Conrad wrote: I don't have BBEdit 10, but for 9, you go to Languages, then

Re: Forward Delete in 10.0?

2011-07-29 Thread Steve Samuels
I use keyremap4macbook http://pqrs.org/macosx/keyremap4macbook/ to make shift+delete act as forward delete in every application. (And it's not just for laptops.) Steve On Jul 29, 8:14 am, François Schiettecatte fschietteca...@gmail.com wrote: I see the same behavior as Ridgeview on my MacPro

Re: v10 Live Search Emacs Ctrl-S and Ctrl-R

2011-08-01 Thread Steve Samuels
See: http://groups.google.com/group/bbedit/browse_thread/thread/ca96e615cc2d5b98 On Aug 1, 12:29 pm, Andrea andrea.whitl...@gmail.com wrote: I have emacs keybindings turned on and ctrl-s and ctrl-r don't seem to work with live search.  Am I missing something? -- You received this message

Re: Mourning the loss of Find extend selection option

2011-08-02 Thread Steve Samuels
A script here (http://groups.google.com/group/bbedit/browse_thread/ thread/47c18e29cb7139ad/) and here ( http://www.mediafire.com/?ndchk0imd9u9o ) will select all text up to (optionally through) a line containing a specified search string. I haven't tested it in BBEdit 10, but it might get you

Re: Rectangular Selection and Edit

2011-09-16 Thread Steve Samuels
Replacement in a rectangular selection doesn't work in V 9.63 either. (OS X 10.6.6.) I get Application error code 13200: The operation is not permitted in the current selection. Perhaps this is a limitation and not a bug. Steve On Sep 16, 2:41 pm, Christopher Stone

Re: Change Size of Currently Open Documents in Project window?

2011-09-27 Thread Steve Samuels
Not what you asked for, but whole list is available in a pop-up menu just below the BBEdit document icon in the Edit window. Steve On Sep 27, 11:43 am, TomP tap...@gmail.com wrote: I've read the two threads that mentioned this issue, but I didn't see any solution offered, so thought I'd ask

Re: Editing Git projects in BBEdit (Branch awareness)

2012-02-29 Thread Steve Samuels
I use git via SourceTree, a local GUI app. When I switch branches, open (and closed) BBEdit documents change to the versions in the last commit of the switched-to branch. Since SourceTree just issues git commands (switching is checkout), I don't know why it doesn't happen for you. Steve On Feb

Re: Ignoring paths within a project

2012-06-26 Thread Steve Samuels
You can use the same filters in a project's Files view. SS On Jun 25, 12:43 pm, Jean-Baptiste Karageuzian karageuzian...@gmail.com wrote: For multi-file search, you can set filters. It's at the bottom of the multifile search window. JB Le 25 Jun 2012 à 16:51, Fletcher Sandbeck

Re: Change document window backgrounds or title bar based on file location?

2012-07-27 Thread Steve Samuels
Try Git or Mercury which employ branches to handle differing versions of the same files and folders. I avoid the command languages with SourceTree, which has a nice GUI implementation of both. desertrat: SourceTree implements Git-Flow (and Hg-Flow) which was designed specifically for

Re: Crash in BBEdit under 10.8 printing to a Xerox 7435 printer

2012-07-30 Thread Steve Samuels
Read the Patrick Woolsey's post about Requesting Support at the top of the list. On Monday, July 30, 2012 3:33:10 PM UTC-4, Iceman wrote: Installed Mountain Lion and am getting a crash in BBEdit and TextWrangler trying to print to a Xerox 7435 printer - even after reinstalling the

Re: Crash in BBEdit under 10.8 printing to a Xerox 7435 printer

2012-07-31 Thread Steve Samuels
To quote the list header: To make feature suggestions or request assistance with a problem, please contact Technical Support http://www.barebones.com/contact/technical.html. On Monday, July 30, 2012 3:33:10 PM UTC-4, Iceman wrote: Installed Mountain Lion and am getting a crash in BBEdit

Re: Change document window backgrounds or title bar based on file location?

2012-07-31 Thread Steve Samuels
For Mercury read Mercurial On Friday, July 27, 2012 8:01:08 PM UTC-4, Steve Samuels wrote: Try Git or Mercury which employ branches to handle differing versions of the same files and folders. I avoid the command languages with SourceTree, which has a nice GUI implementation of both

Re: Where do you keep projects?

2012-10-02 Thread Steve Samuels
See also the discussion at: https://groups.google.com/forum/?fromgroups=#!msg/bbedit/RLuiXgV6IOQ/tiN4Yi-VscoJ On Monday, October 1, 2012 3:18:34 PM UTC-4, Oliver Taylor wrote: Where do you save your projects? In the project's folder? In a projects folder? I know you can save them

Re: Clippings file not matching language

2012-10-26 Thread Steve Samuels
Peter, this is not a forum for 10,.5 issues. That said,I saw the same problem in 10.5. I wrote to support and Patrick Woolsey replied: In order for a clipping set to have a language association, that set's folder name must map to some recognized language type--and in general, this means

Re: BBEdit using 25% CPU doing nothing ?

2012-10-31 Thread Steve Samuels
To quote Rich's announcement about the 10.5 pre-release: One final note: If you run into a bug in a pre-release version, PLEASE DO NOT REPORT THE BUG TO THE LIST. This includes asking about whether others have seen the same problem. Instead, please send a bug report to sup...@barebones.com

Re: BBEdit hangs with beach ball on every time I select Search-Multi-File Search...

2012-11-02 Thread Steve Samuels
Contact technical support. via the Help Menu. They will obviously want to know a lot more. If this is the 10.5 pre-release, note the posted directive: One final note: If you run into a bug in a pre-release version, PLEASE DO NOT REPORT THE BUG TO THE LIST. This includes asking about

Re: Finder functionality in projects side bar

2012-12-02 Thread Steve Samuels
As your only real concern is how tedious it is to reveal a project file in the Finder, here's a script to do that. Put the script in BBEdit's Scripts folder and assign it a keyboard shortcut. Steve tell application BBEdit set flist to selected items of project window 1 set theFile to item

Re: Finder functionality in projects side bar

2012-12-02 Thread Steve Samuels
As your only real concern is how tedious it is to reveal a project file in the Finder, here's a way to do it quickly: Put the following script in BBEdit's Scripts folder and assign it a keyboard shortcut. Steve tell application BBEdit set flist to selected items of project window 1 set

Re: Finder functionality in projects side bar

2012-12-02 Thread Steve Samuels
I think that the only real issue you've identified is that it's tedious it is to reveal a project file in the Finder. Here's a way to do it quickly: Put the following script in BBEdit's Scripts folder and assign it a keyboard shortcut. Steve tell application BBEdit set Flist to selected

Re: Finder functionality in projects side bar

2012-12-02 Thread Steve Samuels
fList reveal item i of fList end repeat end tell Steve On Sunday, December 2, 2012 11:13:40 AM UTC-5, Steve Samuels wrote: I think that the only real issue you've identified is that it's tedious it is to reveal a project file in the Finder. Here's a way to do it quickly: Put the following

Re: Finder functionality in projects side bar

2012-12-02 Thread Steve Samuels
I think that the only issue you've identified is that it's tedious it is to reveal a project file in the Finder. Here's one way to do it quickly: Put the following script in BBEdit's Scripts folder and assign it a keyboard shortcut. tell application BBEdit set fList to selected items of

Re: [3239] Bug Report

2012-12-04 Thread Steve Samuels
Reread the 10.5 announcement: Bug reports on the 10.5 betas should not be reported here, but only to BareBones. On Tuesday, December 4, 2012 9:53:54 AM UTC-5, Rich F wrote: Hiya kids. Don't buy me anything for Christmas. Downloafed 3239, working in it. I have had some lingering issues in

Re: [3239] Bug Report

2012-12-04 Thread Steve Samuels
I'm referring to https://groups.google.com/forum/?fromgroups=#!topic/bbedit/h88NFkjS8d8 which stated: One final note: If you run into a bug in a pre-release version, PLEASE DO NOT REPORT THE BUG TO THE LIST. This includes asking about whether others have seen the same problem. Instead, please

Re: Radical changes to BB-EDIT 10's Search Dialogue box?

2013-04-18 Thread Steve Samuels
I'm not sure what you mean by a section, but here's a script that will select up to any characters. You can then search the selection. Steve (* Select up to any characters: Opens a find window for the characters Examples: To select up to a double line break, enter (unquoted) \r\r To

Re: Radical changes to BB-EDIT 10's Search Dialogue box?

2013-04-18 Thread Steve Samuels
Here's an even shorter script to do what you ask. For using the script, follow the direction in Patrick Woolsey's post here.https://groups.google.com/forum/?fromgroups=#!topic/bbedit/chOeNWJg-hM Steve tell application BBEdit set _searchto to the text returned of (display dialog Enter

Re: Arbitrary Keybindings in BBEdit

2013-05-13 Thread Steve Samuels
Take a look at bbautocomplete http://c-command.com/bbautocomplete/ . On Monday, May 13, 2013 6:36:17 PM UTC-4, John Delacour wrote: On 13/5/13 at 21:16, chris@gmail.com javascript: (Christopher Finazzo) wrote: In an ideal scenario, I wouldn't have to use modifier keys (Command,

Scripts to send command files to Stata/R selected text to Stata

2013-06-28 Thread Steve Samuels
Stata 13 changed its scripting behavior and broke the previous scripts. I've revised them to work with any Stata version. The scripts are written for StataMP; if you use a different flavor, substitute its name. The Send_to_Stata_or_R script checks the file extension (do for Stata, R or r for R)

Re: Scripts to send command files to Stata/R selected text to Stata

2013-06-28 Thread Steve Samuels
I should have added that Ben Hulley was the author of the originals of these scripts. See the header material of the Send_to_Stata_or_R for some other sources of that script. I modified or added only about six of 58 lines in Ben's original Send_Selection_To_Stata . -- This is the

Re: Scripts to send command files to Stata/R selected text to Stata

2013-07-01 Thread Steve Samuels
There are other scripts around. For R, see: https://files.nyu.edu/jmb736/public/projects/R.html On Friday, June 28, 2013 5:40:28 PM UTC-4, Steve Samuels wrote: Stata 13 changed its scripting behavior and broke the previous scripts. I've revised them to work with any Stata version

Re: UI scripting, works perfectly from Editor, doesn't work running from BBEdit's Script Menu.

2013-12-26 Thread Steve Samuels
Log out and log in usually clears this up. On Thursday, December 26, 2013 1:39:32 AM UTC-5, Stefano wrote: Hi, I'm going really crazy :-( … These simple UI scripts work perfectly. And they work perfectly running from Editor and running from BBEdit's Script Menu. *tell* *application*

Re: Is there any way to integrate BBEdit with Xcode ???

2014-05-27 Thread Steve Samuels
On Friday, May 23, 2014 9:37:47 PM UTC-4, Stede Troisi wrote: This is sort of like asking if I could legally not pay taxes for the rest of my life. I kind of know the answer, but maybe, just maybe there are miracles. :-) Maybe https://github.com/jessegrosjean/quickcursor

Re: BBEdit only prints first page of preview

2014-08-12 Thread Steve Samuels
Send this problem to Bare Bones technical support. supp...@barebones.com On Thursday, August 7, 2014 2:21:30 PM UTC-4, David Crowe wrote: I am previewing a PHP file in BBEdit that is 4 or 5 pages long depending on portrait or landscape view. The Print dialog shows the correct number of

Re: Is BBEdit still using a PCRE version from 2004?

2014-08-17 Thread Steve Samuels
The Manual gives a complete description of BBEdit's regex capabilities. On Friday, August 15, 2014 12:25:42 AM UTC-4, Joe D wrote: When I try to use some very useful (but standard) PCRE syntax such as branch reset or (*SKIP)(*F), BBEdit doesn't recognize the regex. This tipped me off that

Re: How to see all the HTML-files whitout the folders in a project?

2014-11-18 Thread Steve Samuels
Why not create a new Project; the use the Add button (+) and select all the files in the folders, but not the folders themselves. Unfortunately, this doesn't seem to be scriptable. Steve On Monday, November 17, 2014 9:38:11 AM UTC-5, tueren.reuss wrote: Hello! I have a project in BBEdit

Re: Assigning BBEdit Window Placemements with Multiple Displays

2014-11-23 Thread Steve Samuels
The open source application Spectacle can assign a designated window to either half of the screen,but can't it handle windows of Adobe Reader. Therefore for general use, I prefer SizeUp, by Irradiated Software: http://www.irradiatedsoftware.com/sizeup/. On Saturday, November 22, 2014

Re: Documents always grouped into a project

2014-12-14 Thread Steve Samuels
To compare two documents, one with the project list, I hide the list (HIde Files in the View Menu) with a hot key. Steve On Thursday, December 11, 2014 10:05:50 AM UTC-5, Lewis Butler wrote: When I open a second document in BBEdit it always puts it into a project window with the document

Re: document won't save when using apple script menu scripts

2015-12-02 Thread Steve Samuels
Try logging in and out. On Tuesday, December 1, 2015 at 8:56:49 AM UTC-5, Stephen wrote: > > Hello, > > I created an Apple script, named it File•Save and placed it in Menu > scripts. The script runs fine when I save a document but the actual file > doesn't ever save. Is this intended

Re: Disable/uninstall core languages?

2015-12-17 Thread Steve Samuels
Or construct your own list. See this AppleScript On Thursday, December 17, 2015 at 2:14:07 PM UTC-5, Jason Huck wrote: > > Is there any way to remove unused languages from the language menu