Re: Preserving hyperlinks - Markdown to HTML to PDF

2017-12-09 Thread Christopher Finazzo
UTC-5, Steve wrote: > > On Fri, Dec 8, 2017 at 9:14 PM, Christopher Finazzo > <chris@gmail.com > wrote: > > I have a document (written in Markdown) which includes links to external > > URLs. Usually, when finished, I'll export to HTML and open the resultin

Preserving hyperlinks - Markdown to HTML to PDF

2017-12-08 Thread Christopher Finazzo
I have a document (written in Markdown) which includes links to external URLs. Usually, when finished, I'll export to HTML and open the resulting file again in Safari and choose "Print to PDF". In doing so, my links are preserved. Opening the HTML in BBEdit and invoking the "Preview" command

Re: Can I do this in one step?

2017-12-08 Thread Christopher Stone
On 12/08/2017, at 16:13, @lbutlr > wrote: > I want to Hey Lewis, When asking for help with regular expression, please always provide before and after samples of the text you're working with. Conjecturing without actually testing is fraught with

Re: AppleScript for Word-Selection at the Cursor

2017-12-02 Thread Christopher Stone
On 12/02/2017, at 02:25, Christopher Stone <listmeis...@suddenlink.net <mailto:listmeis...@suddenlink.net>> wrote: > So — if the cursor is positioned between the “><” symbols below — the first > iteration will select to the quotes and the second iteration will s

Re: AppleScript for Word-Selection at the Cursor

2017-12-02 Thread Christopher Stone
ses). I'll use it for a while and then have a go at improving it. Here's what I think is a pretty good effort at your expand-selection-to-delimeter request, although it hasn't been tested enough yet for me to be confident. ---- # Auth: Christoph

Re: AppleScript for Word-Selection at the Cursor

2017-12-01 Thread Christopher Stone
On 11/30/2017, at 16:47, Neil Faiman > wrote: > Take a look at this article > from > Daring Fireball in 2003. Hey Neil, Perfect. And more elegant than what I was doing.

AppleScript for Word-Selection at the Cursor

2017-11-30 Thread Christopher Stone
Hey Folks, I'm trying to write some efficient AppleScript code to select the WORD the cursor is IN or next to (right or left). Examples would be having the cursor anywhere between the “>” & “<” symbols in the text below: >Now<

Re: Are there any special features about this code editor?

2017-11-27 Thread Christopher Stone
On 11/27/2017, at 10:51, Madelyn Bingham > wrote: > Can someone tell me what makes BBEdit different or better than other code > editors? Hey Madelyn, There are a number of good text editors available for the Mac, and some have

Re: sort lines in reverse order

2017-11-10 Thread Christopher Stone
un here's how you can do it with AppleScript: ------ # Auth: Christopher Stone # dCre: 2017/11/10 20:30 # dMod: 2017/11/10 20:39 # Appl: BBEdit # Task: Reverse Lines of Selection - or whole document if there is NO selection

Re: Save window size

2017-11-08 Thread Christopher Stone
; tell front window set bounds to {303, 45, 1617, 1196} end tell end tell -- Here's my personal resizing script. It automatically handles a number of different types of documents based on saved location or name. -

Re: Why can't it be easier to change font size on the fly?

2017-11-05 Thread Christopher Stone
On 11/05/2017, at 01:00, Jeffrey Jones > wrote: > Another way to change fonts is with the Fonts panel: View > Text Display > > Show Fonts Let's not forget: View > Text Display > Zoom In View > Text Display > Zoom Out If you give these keyboard shortcuts

Re: In lieu of the ASCII Palette

2017-10-31 Thread Christopher Stone
On 10/31/2017, at 14:03, Scott in Pollock > wrote: > Oh boy... one more thing in my menuBar. Hey Scott, Don't forget that you have all kinds of flexibility with clippings and AppleScript. -- Best Regards, Chris -- This is the

Re: Change in version 12 when using AppleScript to grep through text file, plus a solution

2017-10-22 Thread Christopher Stone
On 10/21/2017, at 13:54, David Glencoe > wrote: > That works just fine (it's inside a tell BBEdit block). In version 11 I was > using text window 1 instead, which also worked fine. I'm not clear why I ran > into problems with that in version 12, but

Re: Change in version 12 when using AppleScript to grep through text file, plus a solution

2017-10-21 Thread Christopher Stone
On 10/21/2017, at 10:59, David Glencoe > wrote: > After upgrading to version 12 I discovered that an AppleScript that had been > running successfully while using BBEdit 11 no longer worked properly. Hey David, I've used this sort of syntax for some

Change the format of generated CSS

2017-08-21 Thread Christopher Finazzo
Is it possible to change the format of CSS which is generated through the Markup -> Edit Markup menu item? For example, when writing styles, I prefer to use an indentation variant similar to Stroustrup's C++ . Accordingly,

Re: Help with a GREP pattern

2017-06-01 Thread Christopher Stone
On 06/01/2017, at 03:28, Tom > wrote: > If you really mean Carriage Return (CR) then I don’t think this can be forced > with a regex in BBEdit. Hey Tom, Sure it can, although the method is not exactly obvious. \x0D or \x{0D} or \x{000D} Look on page 149 of

Re: Insert file path as a comment in multiple files

2017-05-15 Thread Christopher Stone
On 05/15/2017, at 08:00, Geoff Hicks > wrote: > Any pointers for examples of this? Hey Geoff, I'm not completely clear on what you need to do. Are you needing to do a document-by-document replacement, or are you needing to do an en mass

Inserting a Custom Header in BBEdit

2017-05-10 Thread Christopher Stone
: Christopher Stone # dCre: 2010/10/11 21:32 # dMod: 2017/05/10 09:29 # Appl: BBEdit # Task: Insert info header into the front document. # Libs: None # Osax: Satimage.osax # Tags: @Applescript, @Script, @Satimage.osax, @BBEdit, @Insert, @Attribution, @Info, @Header

Re: trimming + grep + applescript

2017-04-16 Thread Christopher Stone
On 04/15/2017, at 18:27, Jean-Christophe Helary > wrote: >> This job can also be handled nicely by AppleScriptObjC these days: > > Yeah :) > > This is really ugly :) But I guess that's a place from where I can start >

Re: trimming + grep + applescript

2017-04-15 Thread Christopher Stone
On 04/15/2017, at 07:44, Jean-Christophe Helary > wrote: > It looks like I'm trying to reinvent the wheel, but I can find a way to do > this: > > 1) replace ^\s with nothing > 2) replace \s$ with nothing > > in a

Re: Manipulating buffer in window with AppleScript?

2017-04-12 Thread Christopher Stone
On 04/11/2017, at 17:38, Neil Faiman > wrote: > What I’m looking for is some way to scroll the window so that the current > line (the line containing the selection) is located at some specific position > relative to the BBEdit window. Is

Re: [ OFFLIST ] Apply mods to Selected Text Only

2017-04-08 Thread Christopher Stone
On 04/07/2017, at 15:06, BeeRich > wrote: > This is what I’m starting with: > > alpha > bravo > charlie > > I want to change that to a volumetric Process Lines prefix and suffix: > > echo “alpha” >> $target > echo “bravo” >> $target > echo “charlie”

Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-05 Thread Christopher Stone
On 04/05/2017, at 01:08, Lagim > wrote: > #!/bin/sh > locale > > is: > > LANG= > LC_COLLATE="C" > LC_CTYPE="C" > LC_MESSAGES="C" > LC_MONETARY="C" > LC_NUMERIC="C" > LC_TIME="C" > LC_ALL= > > It seems, there's something wrong with the configuration of

Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/04/2017, at 09:46, Lagim > wrote: > Would you be so kind to post the text filter code, which you would recommend. > > Please remind, that there are single values which contain single spaces. > Example: "zot foo". These are not two values, but only

Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/04/2017, at 09:29, Sam Hathaway > wrote: > > Yup; but you'll need extended regular expressions for that… > > sed -E 's/ +/¶/g' Hey Sam, Eh? I didn't turn them on? Pfft... You're quite right. > …and I wanted to keep it

Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-04-04 Thread Christopher Stone
On 04/03/2017, at 10:47, Sam Hathaway > wrote: > …I get your expected result. Specifically, my changes were: > two spaces before the * in the regexp (i.e. "match one or more spaces") > no space before the ¶ in the replacement string Hey

Re: Text Filter cannot handle Umlauts (ä,ü,ö)

2017-03-30 Thread Christopher Stone
On 03/30/2017, at 04:25, Lagim > wrote: > As soon as an umlaut exists in the text, the number of inserted blanks are > not correct. It seems the reg ex machine of BBEdit treats umlauts in a > special way. Hey There, Try this: #!/usr/bin/env bash sed -E

Re: Slow launch ?

2017-03-23 Thread Christopher Stone
On Mar 23, 2017, at 01:22, Marshall Clow > wrote: > You can do what I do - only launch BBEdit once per boot. ;-) > (i.e, never quit it) Hey Marshall, Long time no sprechen. :) Same here. I use BBEdit for coding, text-transformation, displaying

Re: Slow launch ?

2017-03-23 Thread Christopher Stone
On Mar 23, 2017, at 00:55, Jean-Christophe Helary > wrote: > I'm finding BBEdit to be considerably slower to launch. > > Is there anything I did that causes that? Hey Jean-Christophe, How slow is considerably slower?

Re: Script for doing stuff in current file's folder

2017-03-16 Thread Christopher Stone
On Feb 26, 2017, at 08:32, Adrian Manea > wrote: > Right... I finally got it. It's much more than I described, but it covers all > of my needs, since sometimes I edit the same file today with Sublime, > tomorrow with BBEdit. :) Hey

Re: How to remove mails from a list from another

2017-03-13 Thread Christopher Stone
On Mar 13, 2017, at 14:02, Christopher Stone <listmeis...@suddenlink.net <mailto:listmeis...@suddenlink.net>> wrote: > > On Mar 13, 2017, at 12:26, Magick! <bleupista...@gmail.com > <mailto:bleupista...@gmail.com>> wrote: >> I have two text files: f

Re: How to remove mails from a list from another

2017-03-13 Thread Christopher Stone
On Mar 13, 2017, at 12:26, Magick! > wrote: > I have two text files: fichier1.csv and fichier2.csv and I want to remove > from the first all the lines that contain an email address of the second. > How to make it with BBEdit? Hey There,

Re: How to "Process lines NOT containing..."

2017-03-12 Thread Christopher Stone
ng the pattern: #!/usr/bin/env bash sed -En '/Your_Pattern_Here/!p' If you want a little bit of UI and can deal with a literal-string then you can roll-your-own: --- # Auth: Christopher Stone # dCre: 2017/

Re: How to Force BBEdit Spell Checker to Default to U.S. English?

2017-02-14 Thread Christopher Stone
On Feb 14, 2017, at 02:19, Bill Kochman > wrote: > Why is BBEdit behaving like such a renegade? That is only supposed to be for > us snarky humans, I do believe. :) Hey Bill, I just checked my spelling window. It is well behaved and

Re: /Library/LaunchDaemons/com.barebones.bbedit.plist ???

2017-02-12 Thread Christopher Stone
On Feb 11, 2017, at 21:35, Jim McIntosh > wrote: > I have a file /Library/LaunchDaemons/com.barebones.bbedit.plist > Can it be removed or does it still provide a function? Hey Jim, That's a question for support. But I'm not aware that BBEdit itself

Re: Using a Text Factory to remove white space

2017-02-10 Thread Christopher Stone
space. #!/usr/bin/env bash # -- # Auth: Christopher Stone # dCre: 2017/02/10 17:53 # dMod: 2017/02/10 18:13 # Task: Remove all horizontal whitespace. # Tags: @Remove, @Horiz

Re: Using a Text Factory to remove white space

2017-02-07 Thread Christopher Stone
d I have more control. ------- # Auth: Christopher Stone # dCre: 2017/02/07 15:00 # dMod: 2017/02/07 15:33 # Appl: BBEdit # Task: General Handler for Find/Replace – operates on selection if exists – otherwise the whole document. # Libs: None # Osax: None # Tags: @Applescr

Re: How to Select Non-Contiguous Text

2017-02-04 Thread Christopher Stone
On Feb 04, 2017, at 16:38, Bill Kochman > wrote: > … considering what a fantastic coding genius Rich is … I find myself > compelled to hold to the belief that he will discover a way … Hey Bill, :) Many programming editors (perhaps most

Re: Markdown as default format

2017-02-03 Thread Christopher Stone
On Feb 02, 2017, at 19:13, Brian Forte > wrote: >> Previously, I ran a terminal script that made markdown the default format >> for all new documents. > > The following worked for me several versions of BBEdit ago: > > $ defaults write

Re: Applescript & BBedit

2017-01-25 Thread Christopher Stone
On Jan 25, 2017, at 10:56, 'Kim Watson' via BBEdit Talk > wrote: > When running Applescript on a file in Bbedit, the Script will not complete > running through the entire document. The previous version ran correctly,. > This is the

Re: Change document sort order

2017-01-24 Thread Christopher Stone
On Jan 24, 2017, at 14:20, Maxime Gousse > wrote: > In BBEdit and TextWrangler, I have the same issue: when I open a new > document, it is not listed in the cycle order. Meaning, newly opened > documents are listed in the "Currently Opened

Re: Opening other apps when opening a project

2017-01-23 Thread Christopher Stone
On Jan 23, 2017, at 09:38, Greg Raven > wrote: > This is what I came up with: Hey Greg, That'll work fine. Here's what I'd do: -- # USER SETTINGS:

Re: Autodetect indentation mode

2017-01-22 Thread Christopher Stone
Hey Johan, I have expanded upon my script (posted 2016/10/10) here: https://groups.google.com/d/msg/bbedit/EAM5uhEvCcc/ZZvb5GC8AgAJ -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email

Re: Opening other apps when opening a project

2017-01-22 Thread Christopher Stone
our project file (note it's an alias – do NOT use a POSIX Path). Change the items listed in variable appList to alter what apps are launched. ------- # Auth: Christopher Stone # dCre: 2017/01/22 23:00 # dMod: 2017

Re: Copy Named Symbol

2017-01-20 Thread Christopher Stone
. --- # Auth: Christopher Stone <scriptmeis...@thestoneforge.com <mailto:scriptmeis...@thestoneforge.com>> # Clnt: Adrian Manea from BBEdit-Talk. # dCre: 2017/01/20 23:44 # dMod: 2017/01/20 23:55 # Appl: BBEdit # Task: Insert Named Symbol at the selection in front BBEdit document. # Libs: None

Re: Efficiently switching between search patterns

2017-01-11 Thread Christopher Stone
On Jan 11, 2017, at 14:47, BenJ > wrote: > Thanks for this - however, I don't want to actually *perform* replacements > from scripts, I just want to pre-populate the find window with search > patterns … Hey Ben, That's easy with AppleScript:

Re: Focus mode?

2016-12-29 Thread Christopher Stone
On Dec 29, 2016, at 10:57, S. Go > wrote: > So, although I'm likely in a minority of users, I just wanted to put my hand > up to ask about possibly adding a Highlight or 'Focus Mode' - something > that's become common in apps like IA Writer, Byword

Re: Focus mode?

2016-12-29 Thread Christopher Stone
On Dec 29, 2016, at 10:57, S. Go > wrote: > So, although I'm likely in a minority of users, I just wanted to put my hand > up to ask about possibly adding a Highlight or 'Focus Mode' - something > that's become common in apps like IA Writer, Byword

Re: How to eliminate invisible characters in BBEdit file: invisible upsidedown red question marks?

2016-12-18 Thread Christopher Stone
On Dec 18, 2016, at 16:53, johnGalt > wrote: > See attached file file. The upside down red question marks are invisible > characters. What characters are they … Hey John, Gremlins! :) > and how can I remove them? Select one of them. Then open

Re: Use BBEdit to update several hundred rows in a 3 column table?

2016-12-14 Thread Christopher Stone
On Dec 13, 2016, at 08:51, Peter White > wrote: > Here's one row of the table after being saved by Excel as .html. Hey Peter, This is helpful, but it's not a big enough data sample. For instance there is no way to tell if your part number

Re: Use BBEdit to update several hundred rows in a 3 column table?

2016-12-14 Thread Christopher Stone
On Dec 13, 2016, at 08:55, Peter White > wrote: > I've been looking for a video tutorial to help me learn, but I can't find > anything on BBEdit or grep. Hey Peter, Look in the BBEdit user manual under “Searching with Grep”. I did a quick

Re: minify css

2016-12-13 Thread Christopher Stone
On Dec 13, 2016, at 16:48, Venmore > wrote: > Thanks Chris … Just what I'm after Hey Carl, Great – I hope it works well for you. After a little more research I found the Apple recommended location for user-installed-java-libraries:

Re: minify css

2016-12-12 Thread Christopher Stone
On Nov 25, 2016, at 16:48, Venmore > wrote: > What is the best way to do this within BBEdit please? > Can it be done on save/export whilst keeping original format for easy editing? Hey Carl, It looks like the yuicompressor java module is one of the

Re: Applescript automatic help please

2016-12-10 Thread Christopher Stone
On Dec 10, 2016, at 02:58, jgill > wrote: > This script, which I don't understand as I don't know Python or shell > scripts, gives '../../Commoner Species Photos/Shag.htm', which has an extra > ../ at the beginning. Hey Joe, I'm

Re: Applescript automatic help please

2016-12-09 Thread Christopher Stone
On Dec 09, 2016, at 14:36, jgill > wrote: > I have set up a loop to find the difference between these two paths and it > produces "../Archive Photos/Juvenile-Shag.jpg" after a bit of massaging. That > is what I want. I just wondered

Re: Applescript automatic help please

2016-12-09 Thread Christopher Stone
On Dec 09, 2016, at 07:11, jgill > wrote: > where I am stuck is with using 'choose file' to produce the *relative* file > path to the page I am working on. I could laboriously split and subtract > elements of the POSIX file path to

Re: minify css

2016-11-29 Thread Christopher Stone
On Nov 25, 2016, at 16:48, Venmore > wrote: > What is the best way to do this within BBEdit please? > Can it be done on save/export whilst keeping original format for easy editing? Hey Carl, With AppleScript and/or Shell-Text-Filters the sky is the

Re: grep lower case upper case sequence manipulation

2016-11-24 Thread Christopher Stone
On Nov 22, 2016, at 23:26, Rob Russell > wrote: > Like photographing children and animals, grep can make one look silly. Hey Rob, I reckon any given miscalculation can make someone look silly – the trick is to not mind too much.  This pattern

Re: a couple of questions while editing a TOC

2016-11-01 Thread Christopher Stone
On Nov 01, 2016, at 00:28, Vlad Ghitulescu > wrote: >> While Perl ordinarily operates on text on a per-line basis, I've used some >> tricks to make each search/replace line operate on the entire text in the >> script above. > > That is the "gm" in

Re: a couple of questions while editing a TOC

2016-10-30 Thread Christopher Stone
On Oct 30, 2016, at 12:54, Vlad Ghitulescu > wrote: >> BBEdit does not allow mass editing of multiple highlighted instances of text >> (although I think this feature is in the pipeline somewhere). > > Is it? Hey Vlad, No bets, but it seems like

Re: a couple of questions while editing a TOC

2016-10-30 Thread Christopher Stone
On Oct 30, 2016, at 01:58, Vlad Ghitulescu > wrote: > Once in a while I like to save the transcripts of video-tutorials from > LinkedIn (formerly Lynda). The format changes constantly, so I'm faced with > new challenges every time :-) Hey Vlad,

Re: TextWrangler feature - Reopen documents that were open at last quit

2016-10-18 Thread Christopher Stone
om the Script menu. --- # Auth: Christopher Stone # dCre: 2016/10/18 03:00 # dMod: 2016/10/18 03:32 # Appl: BBEdit # Task: Save unsaved text documents and shell documents to a date-stamped folder in the Finder. # : Then close those documents and open the folder in the Finder. # Libs:

Re: Autodetect indentation mode

2016-10-13 Thread Christopher Stone
On Oct 12, 2016, at 10:15, Johan Sölve > wrote: > Since I work in the middle of an ongoing indentation war (you know, tabs vs. > spaces) I have a need for auto-detecting the indentation mode when opening … > > I'm not even sure if it's

Re: Help with simple Applescript

2016-10-07 Thread Christopher Stone
On Oct 04, 2016, at 12:09, John Bleichert > wrote: > Trying (as a side project) to get a script going where I can compile from > within bbedit w/o having to shell out. Hey John, I'm not completely clear on what you're trying to do, but the

Re: Dropbox sync when using Dropbox for Business

2016-10-07 Thread Christopher Stone
On Oct 06, 2016, at 17:27, Rich Siegel > wrote: > Unfortunately, Dropbox does not provide the mechanics necessary for client > applications to determine the file system location of the Dropbox folder (or > they didn't, last time I checked).

Re: Applescript returning \1 from grep search

2016-10-02 Thread Christopher Stone
On Oct 01, 2016, at 16:33, Rich Siegel > wrote: > The "grep substitution" verb should do that, e.g. after the "find" succeeds, Grrf... I was looking for that and couldn't find it. :) -- Take Care, Chris -- This is the BBEdit Talk public

Re: Applescript returning \1 from grep search

2016-10-01 Thread Christopher Stone
On Sep 30, 2016, at 16:53, jgill > wrote: > I need to extract the date from September 30th in a HTML document > > I can search using - set theMonth to find "\\s*(.*?)\\s* > >" searching in text 1 of text document "index.html"

Re: Help with mark with applescript

2016-09-13 Thread Christopher Stone
On Sep 13, 2016, at 08:14, Yan Alperovych > wrote: > I need a script to find all instances of a certain tag (MRK) Hey Yan, Given your example text something like this will work:

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Christopher Stone
On Aug 20, 2016, at 07:24, Oliver Boermans wrote: > If I execute this script from the scripts menu in BBEdit: > … > Should I be seeing BB_DOC_NAME, BB_DOC_PATH and friends in the list that is > output? > > I have been attempting to use these variables in a script, but they

Re: Wrapping text in symbols or tags

2016-08-06 Thread Christopher Stone
s very basic AppleScript will wrap the selected text in whatever text you provide in the dialog. It can be tremendously customized. -- Best Regards, Chris --- # Auth: Christopher Stone # dCre: 2016/08/06 17:00

Re: Modify Text Factory from AppleScript?

2016-08-05 Thread Christopher Stone
On Aug 05, 2016, at 02:23, Terje Bless wrote: > Thanks for the tip. I hadn't really been aware of Smile and Satimage.osax > before and it looks really useful for a lot of use cases. Will definitely > note that for future needs. Hey Terje, Here are the main handlers I use with

Re: Modify Text Factory from AppleScript?

2016-08-04 Thread Christopher Stone
On Aug 04, 2016, at 09:53, Terje Bless wrote: > As I come across new mis-scanned words that seem likely to recur I add a new > Replace All action to the Text Factory. This is, however, getting tedious to > do by hand; and so I would like to make an AppleScript that automates as

Re: Two windows for the same project

2016-07-29 Thread Christopher Stone
On Jul 29, 2016, at 13:10, Adrian Manea wrote: > Thank you very much, Chris! The script did the job. Hey Adrian, Great. Keep in mind that you've got a duplicated project file you'll need to delete when you're done with it. -- Best Regards, Chris -- This is the

Re: Two windows for the same project

2016-07-29 Thread Christopher Stone
On Jul 29, 2016, at 12:43, Adrian Manea wrote: > My idea is, indeed, to open a file in an additional window, but I want the > project folders, tree and navigation in both of them, if possible. Hey Adrian, I doubt the developers will be interested in implementing that

Re: Two windows for the same project

2016-07-29 Thread Christopher Stone
On Jul 29, 2016, at 12:03, Adrian Manea wrote: > Is there any way I could have the same sidebar contents for both of the > windows (basically, the full project), if I've opened two files from the same > project? Hey Adrian, Does Menu-Bar > View > Open in Additional

Re: Just bought BBEdit. Previously used TextWrangler. Did I get ripped?

2016-07-28 Thread Christopher Stone
On Jul 28, 2016, at 11:31, Fletcher Sandbeck wrote: > I gladly pay for BBEdit anyway since it's such an essential tool to my > business and at times those more advanced features can save a lot of hassle. Amen. Let us not forget that TextWrangler only exists because of the

Re: Modify all instances of selection a la columnar selection

2016-07-13 Thread Christopher Stone
n the regex, so currently this will only work on a string that has clear boundaries at beginning and end. --- # Auth: Christopher Stone # dCre: 2016/07/13 13:30 # dMod: 2016/07/13 14:06 # Appl: BBEdit #

Re: Sort email addresses by domain name...

2016-07-06 Thread Christopher Stone
On Jul 06, 2016, at 10:45, Bo wrote: > How do I sort email addresses by domain name? Hey Bo, Use Text > Sort Lines... Search Pattern: ^.+@(.+) Sub-Pattern: \1 -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request

Re: BB and ccrypt

2016-06-22 Thread Christopher Stone
On Jun 18, 2016, at 10:07, Robert wrote: > Is there a way that BBEdit can use ccrypt to dencrypt and load it in BB? I > have it in Vim, trying to in BB as well. Hey Robert, This appears to work when run as a filter: #!/usr/bin/env bash ccrypt --encrypt --key

Re: How to search for a specific text string ending in digit and replace with digit incremented by one

2016-06-12 Thread Christopher Stone
On Jun 11, 2016, at 18:36, Michael Baker > wrote: > I'm sorry if I don't understand the perl script enough to follow your attempt > helping me. > It might be I didn't explain my task well enough. In case it helps I'll be a > little

Re: untitled text files

2016-06-10 Thread Christopher Stone
On Jun 09, 2016, at 15:21, Greg Reyna wrote: > Is there a way to learn the creation date of an unsaved, "untitled text" > file? I never have reset the numbering so it's up to 191. Hey Greg, As has been mentioned a creation date isn't available, however you can get a

AppleScript - Toggle between wrap-to-page-guide and current settings.

2016-05-28 Thread Christopher Stone
Hey Folks, Another script I've repurposed from the TextWrangler list. After printing a few pages to PDF I got my Page Guide width pretty close to the printed page width. This script toggles the front window between Page Guide [ON] and Soft-Wrap to Page Guide and the current settings. -- Best

Re: Search/Replace with GREP wildcards

2016-05-18 Thread Christopher Stone
------ # Auth: Christopher Stone # dCre: 2016/05/18 17:08 # dMod: 2016/05/18 17:13 # Appl: BBEdit & Safari # Task: Open BBEdit's “Searching with Grep” Chapter in Safari # Tags: @Applescript, @Script, @,

Re: How does one preview anything?

2016-04-28 Thread Christopher Stone
On Apr 28, 2016, at 19:13, Richard Cook wrote: > The 'preview command' is referenced a lot but I cannot find said command. __ Hey Richard, When looking for commands in an app on OSX the first step is to use

Re: [ANN] BBEdit 11.5.2

2016-04-21 Thread Christopher Stone
On Apr 21, 2016, at 11:22, Rich Siegel wrote: > We are pleased to announce the release and immediate availability of BBEdit > 11.5.2. __ Thanks Rich! :) -- Take Care, Chris -- This is the BBEdit Talk

Re: html2txt.py as a text filter

2016-04-19 Thread Christopher Stone
On Apr 18, 2016, at 11:34, TJ Luoma > wrote: > If I want to _replace_ the contents of the current file, NOT create a > separate document, I thought this would be what I needed to do as a Text > Filter

Re: projects and applescript

2016-04-18 Thread Christopher Stone
On Apr 17, 2016, at 16:48, captkirk wrote: > Thanks! That does show me a way of working. It also shows me more limitations! __ Everything has limitations... :) What exactly are you trying to do? --

Re: projects and applescript

2016-04-17 Thread Christopher Stone
On Apr 16, 2016, at 19:50, captkirk wrote: > BBEdit Projects don't seem to be able to access the list of files in the > project with Applescript (except for selected files). Folders and their > contents in the project don't seem to be accessible either.

Re: Auto-enter new unordered list line in Markdown files

2016-04-10 Thread Christopher Stone
On Apr 09, 2016, at 12:31, dp wrote: > When Markdown syntax is selected and the current line begins with a dash, is > it possible to configure BBEdit to detect that and to begin the next line > with a dash when the return key is pressed?

Re: Problem with "Multi-File Search" results

2016-04-08 Thread Christopher Stone
Hey Folks, This is the old lexical vs numeric sort issue. For those who don't remember the Finder used to have a lexical sort, and it made everyone nuts for years. (Same with Micro$oft Windows.) http://hints.macworld.com/article.php?story=20021002061850171 For that matter the Finder still

Re: Link to this group?

2016-03-21 Thread Christopher Stone
On Mar 21, 2016, at 09:29, Kyle DeMilo wrote: > Any chance there can be a link, perhaps under the Help menu, to either the > BBEdit Google Group, or the page on barebones.com that links here? __ Hey

Git, BBEdit, El Capitan and askpass

2016-03-11 Thread Christopher Fasano
I downloaded the latest trial version of BBEdit hoping it play nicely with Git. When I try to do a "Git Pull" on my repository from BBEdit I get ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory There is in fact no such repository. It then fails because there are

Re: BBEdit in Split View

2016-03-09 Thread Christopher Stone
On Mar 09, 2016, at 05:39, László Sándor wrote: > Funny I could not Google this up. __ Hey László, Very. Google: BBEdit splitview El Capitan First two hits: Bare Bones Software | TextWrangler FAQs

Re: Disabling Search/Find Dialog from showing up on all desktops

2016-03-05 Thread Christopher Stone
On Mar 05, 2016, at 13:48, Mark Walker wrote: > Currently with BBEdit 11 the Search and Find dialogs show up on all desktops. > Is there a way to configure this so the windows only show up where the app is > active?

Re: Find and Replace many paragraphs between 2 unique phrases

2016-02-23 Thread Christopher Stone
On Feb 23, 2016, at 17:52, Bill Walker wrote: > I would like to replace large chunks of code bracketed by the same tags in > many files. I can replace large sections using start and ending tags … > provided I duplicate the +.*[/r] the correct number of times.

Re: Viewing CSV Files in BBEdit - How to Automatically Visually Format Columns

2016-02-23 Thread Christopher Stone
On Feb 23, 2016, at 08:39, Adam Wise > wrote: > I'm editing a lot of delimited files in BBEdit & was hoping there was a way > to space out columns & align them so they look more like an excel sheet...

Re: AppleScript: exporting active text document to a file

2016-02-05 Thread Christopher Stone
On Feb 05, 2016, at 09:24, Max Horn > wrote: > You probably can use a regular text filter by putting your get-text > AppleScript in with `osascript`. > > Note sure what you mean with that. Perhaps this is a misunderstanding? To > clarify, I would prefer

Re: AppleScript: exporting active text document to a file

2016-02-04 Thread Christopher Stone
On Feb 03, 2016, at 11:28, Max Horn wrote: > it requires the contents of the whole file. This means that I unfortunately > cannot (as far as I know) use a regular text filter. __ Hey Max, You probably can use a

Re: Insert a space every 5 characters

2016-01-27 Thread Christopher Stone
On Jan 26, 2016, at 03:44, Simon Allen wrote: > I am anew to BBEdit. I want to insert add a space every 5 characters of a > text file and then group every 2000 characters as a separate page. __ Hello

Re: Hide Formatting?

2016-01-14 Thread Christopher Stone
On Jan 12, 2016, at 14:10, Robert A. Ober wrote: > Interesting, surprising, and dissapointing. If they can read the formatting > it would seem that a preview would be fairly easy. __ Hello Robert, BBEdit

<    1   2   3   4   5   6   7   8   9   10   >