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 another one, but it is sometimes 
> "Word", "word" or "WORD".  I can do this with three search and replaces.  I 
> also know about the \u\U modifications to the group (so \u\1 to uppercase the 
> first letter), but that doesn't really work, since I'm changing the word (not 
> using the group).  What I think I want is something that would take just the 
> case of the matched group and apply that to replacement text.  Or is there 
> another way to accomplish this in one pattern?
>   Thanks!
> -Jim Straus
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/CABL0jSJ%2B9Ka5_jjM-hozQrekmgLPjyhh1svx1B4ZJ%2B439JxUsg%40mail.gmail.com
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/2584D5A1-644C-4F3A-8754-94E590CEA5CA%40googlemail.com.


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 over HTTPS, but requested an insecure script 
'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js'. This request 
has been blocked; the content must be served over HTTPS.

Hope this helps, 
Holger 


> On 1. Nov 2023, at 14:10, Sandy  wrote:
> 
> I have been using BBEdit for years (version 11.6.8 on Mac 10.13.6) Yes I know 
> its old but has been working fine.
> 
> I’ve created a new mp3 player app which works fine viewing on my Mac,
> Once I move to my website and view it there, it mall functions (half loads?).
> And I’ve used the same code before which is still up and running at
> https://www.abacoescape.com/BahamianMusic/BahamianPlayer.html
> 
> The new one using the same code opens only the header the song list part 
> doesn’t.. 
> Example  https://www.abacoescape.com/OneHit/Onehit.html
> 
> I have 15 play lists with the same issue,
> 
> Sandy
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/04DC7756-279A-4335-9F50-D988EEDFDDC5%40comcast.net
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/32477E8C-CDFF-43B6-8EBF-6DEFD414007E%40googlemail.com.


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 to isolate a string such as:
> The Cat that walked by himself:
> I can't find how to include EVERY eventuality between  and the colon 
> at the end.
> I simply want to make whatever is between  and the colon, bold.
> So it would look like this:
> The Cat that walked by himself:
> Can you help please?
> Andy
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/dd5ddf44-0107-42a9-84a1-9019bfc79f43n%40googlegroups.com
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/10720E34-F5BF-40CB-A809-FA75EF135599%40googlemail.com.


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 “Open…”, then all files within the “Project” pane are 
listed and also added alphabetically. 

— Holger


> On 4. May 2023, at 14:16, David Weinberger  wrote:
> 
> Bruce, yes, I can manually reorder files in the "Project" list in the project 
> sidebar, as well as in the Currently Open Documents (COD) pane. 
> 
> The COD pane defaults to alphabetical; that is, if I open a file in the top 
> pane for the first time, it inserts itself in alphabetical order into the 
> bottom pane. I like that behavior.
> 
> Fletcher, if I drag a folder from the Finder into the Project pane, its 
> contents do not show up as alphabetized.
> 
> Is the "Project" pane in the Projects sidebar alphabetizing itself for 
> anyone?  Is this a bug or my misuse/misconfiguration/misunderstanding of a 
> feature?
> 
> David W.
> 
> On Wed, May 3, 2023 at 11:39 PM  > wrote:
>> 
>> bbedit@googlegroups.com 
>> 
>>Google Groups 
>> 
>>
>> 
>>  
>> Topic digest  <>
>> View all topics 
>> 
>> Digest for bbedit@googlegroups.com - 2 updates in 1 topic 
>>  - 3 Updates
>> Digest for bbedit@googlegroups.com - 2 updates in 1 topic  
>> 
>> David Weinberger mailto:da...@weinberger.org>>: May 
>> 03 09:00AM -0400 
>> 
>> Holger,
>>  
>> Thanks for the tip. But I'm not saying D'oh! quite yet :)
>>  
>> I hadn't paid any attention to that preference setting, so thanks.
>> Unfortunately, the most relevant option ("Add documents to sidebar in
>> alphabetical order") was already checked. The option says:
>>  
>> BBEdit will add newly created or opened documents to the sidebar list in
>> alphabetical order, if possible. Turn this option off to always add
>> documents to the end of the list.
>>  
>>  
>> It doesn't affect the ordering of a project's files in that project
>> sidebar; even with the option selected, it places additions to the project
>> at the end of the list. I don't know if that's a bug, if it isn't meant to
>> apply to the "Project" listing, or if I'm misunderstanding the setting.
>> (That third option is always the most likely.)
>>  
>> David W.
>> da...@weinberger.org 
>> [home page ] [writings
>> ] [Everyday Chaos
>> ]
>> he/him
>>  
>>  
>> Bruce Van Allen mailto:b...@cruzio.com>>: May 03 07:18AM 
>> -0700 
>> 
>> Just checking - have you tried dragging items up or down in the project 
>> sidebar to change the order? Works over here, even with "_Add docs in alpha 
>> order" checked.
>>  
>> — Bruce
>>  
>> _bruce__van_allen__santa_cruz_ca_
>>  
>>  
>>  
>>  
>>  
>> Fletcher Sandbeck mailto:fletc...@cumuli.com>>: May 03 
>> 07:41AM -0700 
>> 
>> FWIW, I've always thought the Project listing was alphabetical. It certainly 
>> appears that way in the projects I use. Come to think of it I can't even 
>> drag items into a different order...
>>  
>> However, if I add a "Collection" to the sidebar in the project then the 
>> files within that collection can be dragged into a different order. If all 
>> my files are within a collection then the sort seems customizable but if 
>> they are outside a collection then they are alphabetical. Similarly if I add 
>> an "Item" to the sidebar then that item can be dragged around, even into the 
>> folders that I have.
>>  
>> David, you could try dragging a folder from the Finder into the project 
>> sidebar and seeing if it behaves more like you want.
>>  
>> [fletcher]
>>  
>>  
>> Back to top 
>> You received this digest because you're subscribed to updates for this 
>> group. You can change your settings on the group membership page 
>> .
>> To unsubscribe from this group and stop receiving emails from it send an 
>> email to bbedit+unsubscr...@googlegroups.com 
>> .
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit 

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, and this is such a nit, but ...
> 
> You know the side panel that lists all the files in a project? Is there a way 
> to alphabetize it, the way the "Currently open documents" panel is?
> 
> Thanks.
> 
> David Weinberger
> da...@weinberger.org 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/CALLXKrQZpEPb2d9tpAKd3QEBix-nV-TgV_%3D9BtSXQa8t__bXZA%40mail.gmail.com
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/42A1BA07-02AC-423F-8626-DC15FC07ECE3%40googlemail.com.


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 
>> another part of the doc underneath each other, but not next to each other.
> 
> Yes, but I want to view two *different* files.
> 
> = jem
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> <https://twitter.com/bbedit>
> --- You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/CB2B684E-E5BC-48FB-B930-F84E7C8F4350%40mostrom.pp.se.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/4B95C166-B69C-4B17-A1B5-C87BC963EDAE%40googlemail.com.


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 so, I can't 
> figure out how (except for using "Find differences"), help?
> 
> Use case: I've always just opened two windows side by side when I needed 
> this, but when I use Zoom I prefer to share a window and not my desktop.
> 
> = jem
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/075CA727-C0DE-49A8-BD05-BF247F60147B%40mostrom.pp.se.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/2DDC05B9-4A2B-4977-97AA-74272985F8F2%40googlemail.com.


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 clearer example:
>> 
>> 1. THIS SOFTWARE IS PROVIDED “AS IS”, WITHOUT
>> 2. PERMISSION IS GRANTED TO ANYONE TO USE THIS
> 
> 
> Hey Francisco,
> 
> In my script I've ensured that only hrefs containing "link<1 or more digits>" 
> are affected.
> 
> This is easy to change of course.
> 
> --
> Best Regards,
> Chris
> 
> 
> #!/usr/bin/env perl -sw
> # Title Case Link Text
> use v5.010;
> 
> my ($cap1, $cap2, $cap3);
> 
> while (<>) {
> 
>if ( m!()(.+)()!i ) {
> 
>   ($cap1, $cap2, $cap3) = ($1, $2, $3);
>   $cap2 =~ s!(\b\w[^\h[:punct:]]+)!\u\L$1!gi;
>   say "$cap1$cap2$cap3";
>   
>} else {
>
>   print;
>   
>}
>
> }
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/7D9BF37C-DC73-4686-9010-587A61BACE29%40gmail.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/1784C77C-8126-4487-B982-F210F79173F0%40googlemail.com.


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 for the offtopicness of the question so first, if you know any 
> place where the questions would not be off topic let me know (please, no 
> stackoverflow...)
> 
> The question is, I'm trying to recover from a 20 years lag in CSS development 
> and I thought working first on a site where I can't change the HTML would be 
> a perfect choice since I can work on the selector spec and from there move to 
> more creative stuff.
> 
> Here is what I have now:
> 
> (sample, the links don't work)
> https://brandelune.github.io/code/Visiting-Functions.html
> 
> original
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Visiting-Functions.html
> 
> and the css:
> https://brandelune.github.io/code/emacs.css
> 
> I'm trying to use a media query to target mobile browsers so I have that 
> thingy here in the middle:
> 
> @media (max-width: 40em) {
> ...
> }
> 
> On the Safari/Firefox responsive simulators, the things work perfectly well.
> When I check the page on my iPhone 11 or even on my wife's iPhone 6, I get 
> the standard page with super small characters and no reaction to the 
> max-width property.
> 
> And I have no idea what to do with that behavior... Where can I even start to 
> debug that ?
> 
> Jean-Christophe Helary
> ---
> http://mac4translators.blogspot.com @brandelune
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/D30E58AD-EE74-4E36-8E93-62CE71B5B6C6%40traduction-libre.org.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/6E9043A6-B939-42AA-A898-F480E2A74AAF%40googlemail.com.


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 they'll do the same thing in BBEdit. 
> 
> Could someone please help me here? How would this script, for instance, need 
> to be written for BBEdit?
> 
> -
> 
> tell application "Tex-Edit Plus"
>   activate
>   open file "HD:Users:wama:Desktop:file.txt"
>   set insertion point before contents of window 1 to 
> "sku,product-id,product-id-type,Price,item-condition,Quantity,add-delete,will-ship-internationally,expedited-shipping,standard-plus,item-note
> "
>   replace window 1 looking for "\"" replacing with ""
>   replace window 1 looking for "," replacing with "^t"
>   replace window 1 looking for "
> " replacing with "
> "
>   save window 1 with creator «class TBB6»
>   quit saving ask
> end tell
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter:  >
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/80c71618-12d2-4d54-951e-de0ead6fcb8e%40googlegroups.com
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/8A830550-9879-4499-A8AF-D0AC645C4EB8%40googlemail.com.


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 4:56 PM, Jan Erik Moström  wrote:
> 
> I'm trying out a new way of working with BBEdit, that is I'm trying out the 
> project feature (in my work I usually have text files open that are not 
> related to each other, this autumn is a bit different).
> 
> The Project feature is nice and work well for what I'm doing, but can I view 
> two files at the same time? (Assuming that I have the editor pane visible) I 
> can of course open them in new windows but I imagined myself doing something 
> like this:
> 
> + Open the project
> + Click the "Full screen" button
> + Divide the editor pane in three parts
> + Open three files in these parts
> 
> This would mean that on my desktop monitor I would see the file listing and 
> three files at the same time. The only way I've come up with doing something 
> like this is to
> 
> + Open the project window with the editor pane visible
> + Open a file
> + Go full screen
> + Close the editor pane and let the file move to a new window
> + Open new files and move them to separate windows
> + Arrange the windows so this kind of line up
> 
> While this work, kind of, it's not very elegant and I assume that I'm missing 
> some way of doing what I want to do. I didn't see anything obvious in the 
> manual and I can't find anything in the menus. So what am I missing?
> 
> = jem
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/F95EE37F-9050-43AA-82A2-FAD399EE4D77%40mostrom.pp.se.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/1337278D-F030-48F8-9985-69824997025E%40googlemail.com.


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, especially design-wise. 

Other than that, maybe a search on Github will find something. 

Hope this helps,
Holger

> On 22 Sep 2019, at 6:37 PM, Jan Erik Moström  wrote:
> 
> A question about a good source for web site templates.
> 
> I want to make some small static web sites for various stuff and thought that 
> I could use BBEdit for creating/updating the sites (yes, I know about tools 
> like RapidWeaver, Hugo, Pelican, etc but they are too complicated for what I 
> have in mind).
> 
> Unfortunately my graphic design skills isn't world famous ... not even within 
> my family. So I did a search for "free web sites templates" and ended up with 
> a long list of web sites that offers "free" templates (mostly WP templates) 
> ... so I ended up looking at Hugo and WordPress templates.
> 
> But before I sit down and try to convert them to be usable with BBEdit I want 
> to ask if anyone knows of a good source for HTML5 templates that are not ... 
> let's say, of doubtful quality ... and doesn't depend on frameworks like 
> bootstrap etc (I want small, self contained static web sites)?
> 
> = jem
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/252761B3-F305-4C45-AD70-5E7FAE495FD8%40mostrom.pp.se.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/E780FCFC-6FDB-428A-948F-08F95ADFFA53%40googlemail.com.


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, March 6, 2019 at 9:11:45 AM UTC-5, Hoger November wrote:
>> 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 2019, at 7:02 AM, Carl Bolduc  wrote:
>>> 
>>> I would like to know if there is a way to support the JSX syntax in BBEdit. 
>>> I know that there is no support out of the box but if there is a 
>>> workaround, I would be happy to use it.
>> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 2019, at 7:02 AM, Carl Bolduc  wrote:
> 
> I would like to know if there is a way to support the JSX syntax in BBEdit. I 
> know that there is no support out of the box but if there is a workaround, I 
> would be happy to use it.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Replace Script w/ Date Conversion

2019-01-06 Thread 'Holger Bartel' via BBEdit Talk
Hi Chris, Attached you can find a sample file. The only thing different in other files is that the order of the keys might differ. Let’s also assume all keys of “Eventtimestamp” do not have any corresponding value.What I want to do is: Batch process all files `event.txt` under `events`events	- event-1		- event.txt	- event-2		- event.txt	- event-3		- event.txtCreate a UNIX timestamp (epoch) from  the `Date` and `Time` values and add that timestamp after “Eventtimestamp: “Nothing else needs to be added or removed. Hope this clarifies what I’m trying to do. Best regards, Holger



-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
Title: 2019-01-04-14:00



Eventslug: reststrom



Date: 2019-01-04



Time: 14:00



Hidetime: 0



Status:



Locationid: theater



Hidetickets: 0



Line:



Eventtimestamp: 1546606800



Published: 2019-01-04 13:01
On 5 Jan 2019, at 3:22 AM, Christopher 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 this needs the help of a filter/shell script and I’d love a pointer in the direction of how to achieve this.Hey Holger,It would be useful to have a couple of actual example files.You need to explain how you plan to access the files – what your actual workflow looks like.It appears that you're transforming from normal date/time to epoch time - yes?That transformation will definitely require some scripting.You say you need to replace/add one value – what does that mean?Are you needing to remove both the date and time stamps and replace them with the “Eventtimestamp”?Or are you needing to simply add the “Eventtimestamp” after the other stamps?--Best Regards,Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.




-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 the below and there can be other key/value pairs in between 
or even the order could vary, but that’s more unlikely: 



Date: 2019-01-04



Time: 14:00



Eventtimestamp: 1546596000

In most files the timestamp is empty (some might not be) and needs to be 
created from the `Date` and `Time` values. 

Thanks in advance for any help and a happy new year, 
Holger

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 with git. I'm using Sourcetree (and 
> sometimes Tower) to keep track of the repositories, and I noticed that BBEdit 
> v12.5 does not automatically reload changed files in open tabs (I somehow 
> think that was different in v10 & 11, wasn't it?).
> 
> I can of course choose "Reload from disk" from the menu, when I know which 
> files exactly have changed.
> Any way to automize that? An info window in the sidebar on what git is up to 
> would be cool ... (I think phpstorm has got sth. like that.)
> 
> Cheers!
> -M
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 have less or more lines if I’m not 
mistaken. 

Hope this helps,
Holger

> On 10 Dec 2018, at 8:26 PM, Philippe Carly  wrote:
> 
> I would like to find multiple files (I know how to do that) 
> that don' have a specific number of lines (this I don't know).
> 
> More specifically, I have a directory which contains a large number of 
> subdirectories, each containing (among other things) a fileinfo.php file.
> I now that this fileinfo.php should have N lines. And I am trying to locate 
> files that have more or less than N lines to search for potential problems.
> 
> thanks for your help.
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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


> On 15 May 2018, at 5:15 AM, Matthew London  wrote:
> 
> Hi,
> Struggling to get my head around GREP...
> 
> I need to use Process Lines Containing function in BBEdit to find all lines 
> that  contain the word "from" followed by a space, followed by any word that 
> begins with a capital letter
> 
> ie:   
> He is from California
> but not
> He is from his mother
> 
> 
> PS.Grateful if someone can recommend a "GREP for non-programmers" written in 
> plain(er) English so I dont have to bother you very helpful people here.
> Thanks :-)
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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 should do what you're looking for. 

Best,
Holger

> On 22 Aug 2017, at 6:40 AM, jgill  wrote:
> 
> I use another program which is complementary to BBEdit called CSSEdit. It can 
> be configured to style the layout as you wish but only in external style 
> sheets. BBEdit and CSSEdit work well together giving the best of both worlds.
> 
>> On Monday, August 21, 2017 at 10:18:29 PM UTC+1, Christopher Finazzo wrote:
>> 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, classes and ID's would be written 
>> as follows:
>> 
>> .main {
>>   line-height: 1.6;
>>   font-size: 16px;
>>   color: #444;
>> }
>> 
>> Can the Markup command be instructed to output in this style? If not, I 
>> presume this would be possible through the Completion preference pane in 
>> BBEdit 12. The existing Editing preferences do not seem to allow for this 
>> kind of flexibility.
>> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


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, period
> 
> to replace with
> 
> tab, originally found digits, period
> 
> 
> Example:
> 
> Find: \r49.
> 
> Replace with: \t49.
> 
> 
> Following search pattern seems to work but how do I write the replace part? I 
> can't seem to work that out:
> 
> \r\d*\.
> 
> Thanks! This is befuddling me.
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.