Re: Project window editor

2011-08-01 Thread Semper Fidelis
:-D On Aug 1, 2011, at 7:48 AM, RobS wrote: I suppose I will get used to this, in the same sense I'd get used to having one less finger -- reluctantly but thoroughly. -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to

Re: Block formatting a long document

2011-07-18 Thread Semper Fidelis
Paul~ If you literally mean (?s)^Note:.*?(?=^RULE), then you could achieve the effect you want by escaping all the regex characters in BBEdit's Search for: field, then surround the whole thing with matching parentheses, as follows ... (\(\⌀?s\)\^Note:\.\*\?\(\?=\^RULE\)) ... and then in the

Re: edit list to be four tabbed fields per record

2010-10-28 Thread Semper Fidelis
I can recommend Regular Expressions in 10 Minutes by Ben Forta (©2004 by Sams Publishing; ISBN 0-672-32566-7). I also have Mastering Regular Expressions by Jeffrey E. F. Friedl (see http://www.oreilly.com/catalog/regex3/ for details) and, of course, the BBEdit manual, but it's the slim Forta

Re: column select sometimes unavailable?

2010-07-20 Thread Semper Fidelis
Did you check to make sure that Soft Wrap Text is turned off? Column selection only works when Soft Wrap Text is disabled. On Jul 20, 2010, at 11:23 AM, Marc wrote: Folks - For the life of me, I can't figure this one out and I see no discussion of it anywhere: Now and then, I'm unable

Re: Tag maker always uses tabs, ignores auto-expand setting

2010-06-22 Thread Semper Fidelis
Nice. Handy. I had overlooked the scripting possibilities. On Jun 22, 2010, at 12:33 AM, Roland Küffner wrote: Am 22.06.2010 um 08:49 schrieb John Delacour: At 16:52 -0700 21/6/10, Semper Fidelis wrote: It can be automated using Apple events with a script added to the Scripts palette

Re: Tag maker always uses tabs, ignores auto-expand setting

2010-06-21 Thread Semper Fidelis
Luke~ Have you tried using Text - Detab... from the main menu? That strips tabs from a file. Note, however, that if you use some value other than BBEdit's default of 4 as the number of tab spaces to be detabbed, you will need to adjust the tab value in View - Text Display - Show Fonts to match

Re: grep results separate files

2010-01-10 Thread Semper Fidelis
Won't the function Process Lines Containing... from the Text menu do this for you if you check Use grep and Copy to new document? On Jan 10, 2010, at 6:27 AM, Ptarmigan wrote: I have inserted the word CODE at intervals in a file I have grepped the file using : CODE(?s).*?(?=CODE) This

Re: Scripting Line Prefix

2009-10-30 Thread Semper Fidelis
Chris~ Why not use a simple grep to do it for you? This works for me: - - - - - - - - - - - - - - - - - - - - Find: (^.+) Replace: •\1 - - - - - - - - - - - - - - - - - - - - Cheers, ~Semper Fi, Mac! = = = = = = = = = = = = = = = = = = = = On Oct 29, 2009, at 11:44 PM,

Re: Scripting Line Prefix

2009-10-30 Thread Semper Fidelis
Agreed -- that's an even simpler solution I overlooked. ~Semper Fi, Mac! = = = = = = = = = = = = = = = = = = = = On Oct 30, 2009, at 8:22 AM, Jan Pieter Kunst wrote: Or why not use the Text - Prefix/Suffix Lines menu item? snip../snip

Re: Scripting Line Prefix

2009-10-30 Thread Semper Fidelis
Get the Camel Book from O'Reilly (the publisher). I've forgotten the actual (real) title of the Camel Book, but if you go to the O'Reilly web site and search for Perl, you'll come up with several good choices. --Sent from the iPhone of Semper Fidelis On Oct 30, 2009, at 13:42, Christopher

Re: Searching by length and any bookmarking type feature in BBEDIT?

2009-09-23 Thread Semper Fidelis
Shouldn't there be a comma after 16? — like this: {16,} That way, your grep search pattern will look for 16 _or more_ characters. --Sent from the iPhone of Semper Fidelis On Sep 23, 2009, at 15:26, Ronald J Kimball r...@tamias.net wrote: Try this: Find (,[a-z0-9\-_. ]{16})[a-z0-9

Re: Adding a header row

2009-08-11 Thread Semper Fidelis
Presumably you mean \A instead of /A to reference the start of a file. On Aug 11, 2009, at 6:58 PM, Bill Rowe wrote: will match the entire file. But if all you want to do is add something at the start of the files, the pattern /A is the start of a document and should be a sufficient

Re: grep question

2009-07-02 Thread Semper Fidelis
Peter~ Using your notation where an underscore (_) here represents a space, search for ... _([A-Z]{2})_(\d{5})_ ... and replace all that with ... \t\1\t\2\t Cheers, ~Semper Fi, Mac! = = = = = = = = = = = = = = = = = = = = On Jul 2, 2009, at 1:23 PM, Peter wrote: Im

Re: Zap Gremlins With Numerical Code instead of Hex Code

2009-06-19 Thread Semper Fidelis
... AND choose Decimal as the form of the HTML entity. On Jun 19, 2009, at 5:50 AM, Patrick Woolsey wrote: You can use the Translate command for this purpose as follows: select Translate: Text to HTML, with the Paragraphs option turned OFF, and the Ignore and option turned ON.

Re: Curly Quotes

2009-05-26 Thread Semper Fidelis
You may have inadvertently set your Editor Defaults in your BBEdit preferences to have Smart Quotes enabled. If so, just uncheck that option. On May 26, 2009, at 8:06 AM, phaedo5 wrote: Forgive me if this is a stupid question. But I changed the font in my BBedit application for code.

Re: [ANN] LottoCal 1.0

2009-04-01 Thread Semper Fidelis
... and a Happy April Fool's Day to you, too, Rich Siegel! :-) On Apr 1, 2009, at 8:54 AM, Rich Siegel wrote: Hi all, We have a new product announcement today: LottoCal 1.0. LottoCal presents state lottery results for up to five days in advance for your desired locations, as all-day

Re: Can I choose which clipboard type to paste?

2009-03-23 Thread Semper Fidelis
While you're in Word, why not save the Word document as an HTML file, then open the saved HTML file in BBEdit? On Mar 23, 2009, at 8:51 AM, Stoney Ballard wrote: I'd really l like to be able to copy text from a Word document and paste the HTML version it puts on the clipboard into BBEdit,

Re: Record Macro

2009-03-20 Thread Semper Fidelis
Or, more compactly: Search For: .{5}$ Replace With: paste_with_whatever_text On Mar 20, 2009, at 6:50 PM, Peter N Lewis wrote: Search for: .$ Replace with: paste some text --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Files open in IE as the default

2009-03-03 Thread Semper Fidelis
Barbara~ You're quite welcome. I'm glad it was an easy solve for you. ~Semper Fi, Mac! --Sent from the iPhone of Semper Fidelis On Mar 2, 2009, at 2:44 PM, barb...@lucilledesign.com barb...@lucilledesign.com wrote: i think i love you... a 10 second fix for hours of frustration

Re: Files open in IE as the default

2009-03-03 Thread Semper Fidelis
Barbara~ You're most welcome. Glad to hear it was a quick fix. ~Semper Fi, Mac! = = = = = = = = = = = = = = = = = = = = On Mar 2, 2009, at 2:44 PM, barb...@lucilledesign.com wrote: i think i love you... a 10 second fix for hours of frustration... thnks so much snip../snip

Re: Files open in IE as the default

2009-03-02 Thread Semper Fidelis
Barbara~ 01. Select the file you want to open in BBEdit. 02. From Finder, choose File Get Info. 03. In the Open With portion of the Get Info dialog, specify BBEdit.app as the application to open the file. 04. Right underneath that choice, click Change All to make the choice stick for

Re: Changing line feeds on multiple files

2008-12-11 Thread Semper Fidelis
In BBEdit version 8.2.6 (what I use): BBEdit main menu BBEdit Preferences Text Files: Saving change the Default Line Breaks to Unix Then open, edit, and save the 150 files. On Dec 11, 2008, at 9:38 AM, Bill Whitacre wrote: If this has already been covered, I'm sorry for asking again ...

Re: Soft line-endings in BBEdit / TextWrangler

2008-12-06 Thread Semper Fidelis
Christian~ Yes, I'm aware that a soft return (\x0A) and a hard return (\x0D) are distinct keystrokes having different effects. Until Todd replied to your email, what I didn't know was that InDesign had tagged-text capability (I probably should have guessed as much, given that I've

Re: Syntax coloring problem in python scripts

2008-12-03 Thread Semper Fidelis
I did what Dennis did and got exactly what he got -- all comments displayed in gray. On Dec 03, 2008, at 12:15 PM, Dennis wrote: On Dec 2, 2008, at 4:16 AM, Harvey wrote: - - - - - - - E G - - - - - # This file is designed to be loaded by yaml, converted to a # decendAttrEvalDict in

Re: -HTML duplicating 'Alt' Tags to Title Tags

2008-11-24 Thread Semper Fidelis
Excellent example -- literally and figuratively! Thanks. On Nov 24, 2008, at 5:43 PM, Patrick James wrote: Following my own message I realise that if we want to make sure that we are dealing only with this string alt=Example within the img tag then it could be done with just a single

Re: Change request: don't jump view after redoing replace and find

2008-11-19 Thread Semper Fidelis
where it was before and after Educate Quotes was executed, which is the more desirable behavior, IMO. * * * And on Aug 23, 2005, at 7:27 AM, Bare Bones Software Technical Support wrote to me in a similar exchange of emails on the subject: Semper Fidelis [EMAIL PROTECTED] wrote: By the way

Re: New to BBEdit: Fast switching between docs, Fast searching

2008-09-30 Thread Semper Fidelis
You also can cycle through open BBEdit documents by pressing Command Tilde (~), which is Mac's default for doing that. On Sep 30, 2008, at 8:43 AM, Stan James wrote: Hi, I recently switched to Mac and am deciding on a TextEditor. BBEdit seems the best so far, but I can't find two time