Re: Possible with Grep?

2024-02-29 Thread 'Holger Bartel' via BBEdit Talk
Hi, Alternatively to the other suggestions, you could put the three existing search & replace patterns into a text factory to run them in one go. Best, Holger > On 28. Feb 2024, at 18:38, Jim Straus wrote: > > Hello all regex experts - > I'm looking to change a word in my code to

Re: Completely stumped

2023-11-01 Thread 'Holger Bartel' via BBEdit Talk
Hi Sandy, The page loads jQuery via HTTP instead of HTTPS which results in the request being blocked. I suppose if the script is loaded via https, your error should be fixed and the page load correctly. Mixed Content: The page at 'https://www.abacoescape.com/OneHit/Onehit.html' was loaded

Re: search for a string of letters, digits, punctuation and even html...

2023-05-10 Thread 'Holger Bartel' via BBEdit Talk
Hi, Try the following Find pattern with Grep turned on: (.+)\: with this Replace pattern: \1: Hope this helps, Holger > On 10. May 2023, at 10:32, 'Andy Nickless' via BBEdit Talk > wrote: > > I'm just beginning to gently feel my way into grep at last, but I'm stumped > here. > I want

Re: Digest for bbedit@googlegroups.com - 3 updates in 1 topic

2023-05-04 Thread 'Holger Bartel' via BBEdit Talk
Hi, If I open a file in a project window (a .bbprojectd window (New->Project…)), files are not neccesarily sorted alphabetically and can be dragged around in the Projects pane. The initial sort order for files in subdirectories seems to be alphabetical though. If I open a directory via

Re: Alphabetizing project listing

2023-05-02 Thread 'Holger Bartel' via BBEdit Talk
Hi David, In Settings, under “BBEdit Sidebar Settings” you can find an option for alphabetical ordering. Hope this helps, Holger > On 2. May 2023, at 15:11, David Weinberger wrote: > > I am sure I'll be D'oh slapping my forehead about this, especially since I > did look in the manual,

Re: Two files in the same window

2021-05-27 Thread 'Holger Bartel' via BBEdit Talk
Don’t think that’s possible, but sure would be nice ;) > On 27 May 2021, at 7:59 PM, Jan Erik Moström wrote: > > On 27 May 2021, at 11:27, 'Holger Bartel' via BBEdit Talk wrote: > >> You can only drag down the little white bar above the scrollbar to show >>

Re: Two files in the same window

2021-05-27 Thread 'Holger Bartel' via BBEdit Talk
Hi, You can only drag down the little white bar above the scrollbar to show another part of the doc underneath each other, but not next to each other. Best, holger > On 27 May 2021, at 4:47 PM, Jan Erik Moström wrote: > > Is it possible to display two files side by side in a window? If

Re: How to grep a list of hyperlink to capitalise the words

2021-04-19 Thread 'Holger Bartel' via BBEdit Talk
Hi, What about Text -> Change Case -> Title Case and then probably needs “make tags lower case”? Best, Holger > On 20 Apr 2021, at 3:01 AM, Christopher Stone > wrote: > > On 04/19/2021, at 09:21, Francisco Hirsch wrote: >> I should have made my question and example clearer. >> I give a

Re: css help...

2019-12-26 Thread 'Holger Bartel' via BBEdit Talk
Hi, >From a quick guess without checking I’d assume you’re missing the viewport >meta tag. Have a look here, hope it helps: >https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag Best, Holger > On 26 Dec 2019, at 4:42 PM, Jean-Christophe Helary > wrote: > > Apologies

Re: AppleScript migration and Catalina!

2019-10-14 Thread 'Holger Bartel' via BBEdit Talk
Hi, Have look into Text Factories which I believe should be able to accomplish what you are looking for. Best, Holger > On 13 Oct 2019, at 1:01 PM, WaMa wrote: > > I'm going to be migrating from Tex-Edit to BBEdit -- long overdue -- but need > some help rewriting some AppleScripts so

Re: Project with several files open and visible?

2019-10-11 Thread 'Holger Bartel' via BBEdit Talk
I don’t think this is possible, but I might be wrong. One thing that might help is to use split view. Hold/hover the green dot of the window and select left or right, yet I’m not sure if this allows you to select a single document from the same project. Cheers, Holger > On 11 Oct 2019, at

Re: web site templates

2019-09-22 Thread 'Holger Bartel' via BBEdit Talk
Hi Jan Erik, Maybe have a look at Bootstrap or Foundation. While they aren’t templates in that sense, I think it’s probably easier to build something quickly that way, instead of messing around with “doubtful quality” templates. Usual disclaimer: It depends what exactly you’re after,

Re: React (JSX) support

2019-03-07 Thread 'Holger Bartel' via BBEdit Talk
Hi, I’m not sure, but supp...@barebones.com will likely have an answer for you ;) Cheers, Holger > On 7 Mar 2019, at 2:43 AM, Carl Bolduc wrote: > > Hi! > > Can a language module extend an existing language? JSX is adding stuff to > JavaScript. > > Thanks, > Carl > >> On Wednesday,

Re: React (JSX) support

2019-03-06 Thread 'Holger Bartel' via BBEdit Talk
Hi, I haven’t see a module for JSX yet, but have a look into Codeless Language Modules, maybe this is a starting point and what you’d need? https://www.barebones.com/support/bbedit/plugin_library.html Best, Holger > On 6 Mar

Re: Replace Script w/ Date Conversion

2019-01-06 Thread 'Holger Bartel' via BBEdit Talk
hristopher Stone <listmeis...@suddenlink.net> wrote:On 01/04/2019, at 09:56, 'Holger Bartel' via BBEdit Talk <bbedit@googlegroups.com> wrote:I have a bunch of .yaml files in which I would like to replace/add one value with a timestamp, which needs to be created from two other fields/values. I think

Replace Script w/ Date Conversion

2019-01-04 Thread 'Holger Bartel' via BBEdit Talk
Hi, I have a bunch of .yaml files in which I would like to replace/add one value with a timestamp, which needs to be created from two other fields/values. I think this needs the help of a filter/shell script and I’d love a pointer in the direction of how to achieve this. The file looks like

Re: Working with git

2018-12-19 Thread 'Holger Bartel' via BBEdit Talk
Hi Martin, I only use Git via Terminal, but have noticed in the past that sometimes files do not reload. Your best bet probably is supp...@barebones.com ;) Cheers, Holger > On 19 Dec 2018, at 10:00 PM, Martin Niggemann > wrote: > > Hey there, > > I have a question on how you guys work

Re: Searching files by number of lines in the file

2018-12-10 Thread 'Holger Bartel' via BBEdit Talk
Hi, Absolutely untested, but maybe something like counting number of line ends followed by a line break/return as in search for: $\r{number_of_lines} or $\n{number_of_lines} could work? Grep needs to be turned on for that, in case that’s new. I think $\n{min, max} should find those that

Re: Another Newbie GREP help request...

2018-05-15 Thread 'Holger Bartel' via BBEdit Talk
Hi, if I’m not mistaken you could use either from [A-Z]+ Or from [[:upper:]]+ Not on a computer right now, so this is untested, but hopefully is correct and helps ;) As for books, maybe one of the O’Reilly pocket references, but I’m not sure about the plainer english… Best, Holger >

Re: Change the format of generated CSS

2017-08-21 Thread 'Holger Bartel' via BBEdit Talk
Hi, You can set indentation per language in the preferences under "Languages -> Language-specific settings", maybe that works. Otherwise have a look at http://editorconfig.org/ which BBEdit supports. This allows you to set indentation styles on a per-language basis and/or per project and

Re: Search pattern works but can't get replace correct

2017-07-02 Thread 'Holger Bartel' via BBEdit Talk
Hi, Your search should be: \r(\d*)\. And then replaced by: \t\1. Hope this helps, Holger > On 3 Jul 2017, at 8:54 AM, esarbege <19timeswa...@gmail.com> wrote: > > Hi All, > > Trying to replace a return with a tab in a specific pattern. Searching for: > > return, any number of digits,