Re: Text filters to format JSON and XML

2021-05-27 Thread @lbutlr
On 26 May 2021, at 10:41, Arthur Goldberg  wrote:
> I'm looking for text filters to format JSON and XML.

Text filters, like regex in BBEdit? Don't. Stop now and back away.

There are good tools for dealing with JSON files (jq is what I use) but there 
are a lot of formats out there that LOOK like JSON and are not actually valid 
JSON, so that may not actually work. It's common for me to get "a JSON file" 
that is not actually a JSON file.

For XML, it depends on what you mean by text-filter. The best XML editor I've 
used is actually Xcode, though I don't think it is that much better than BBEdit 
to be worth the 12GB install of all Xcode.

-- 
'When you've been a wizard as long as I have, my boy, you'll learn
that as soon as you find anything that offers amazing
possibilities for the improvement of the human condition, it's
best to put the lid back on and pretend it never happened.' --The
Last Continent

-- 
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/BD3F6E42-9177-41EA-A02D-B681DC2B9613%40kreme.com.


Re: Two files in the same window

2021-05-27 Thread Christopher Stone
On 05/27/2021, at 11:16, Ron Catterall mailto:roncattera...@gmail.com>> wrote:
> Heresy I know: BUT Supreme Text will do 2, 3 ...side by side same or 
> different files


Hey Ron,

Did you mean Sublime Text 
?

Hey Jan - this feature has been requested before and not gotten any traction at 
all so far as I know.

If you really want it you should make a good case and send it to support.

Bare Bones Software mailto:supp...@barebones.com>>


--
Take Care,
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 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/69C229A6-C76A-414D-AF33-9A7C234B2EB9%40gmail.com.


Re: Handling dollar signs in search and replace

2021-05-27 Thread Christopher Stone
On 05/26/2021, at 21:42, Duncan Thorne mailto:duncan...@gmail.com>> wrote:
> I just noticed that you too use T-E+. I sing the praises of it every day and 
> it's a big reason I'm still at Mojave, the last 32-bit compatible version of 
> the OS. I wonder what happened to Tom Bender, the guy behind it. I've found 
> no answer on Google.


Hey Duncan,

I sent Tom a Christmas card in 2018 and had a brief email correspondence with 
him.

It's the usual story – he got a job, had a family, and got busy...  :-)

In my opinion the only really viable replacement for Tex-Edit Plus is Jedit Ω 
.

It doesn't have quite as organic a feel as Tex-Edit Plus, but it's similarly 
powerful and relatively simple.


--
Take Care,
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 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/1A9EF0CB-9150-4936-9E11-3B331BAEA1A3%40gmail.com.


Re: Two files in the same window

2021-05-27 Thread Charlie Garrison

Good morning,

On 27 May 2021, at 21:59, Jan Erik Moström wrote:


Yes, but I want to view two *different* files.


And regarding the reason for that requirement, you can create a virtual 
camera which records just a portion of your screen (with the two 
windows) and use that virtual camera to feed into the screen share 
(rather than sharing screen directly). I don't really know anything 
about the solutions for that; just that I saw a gaming friend showing us 
his setup to do that for streaming.


I suspect a virtual camera is way overkill for what you need, but just 
throwing an idea from outside the box.


My solution for that... I have multiple displays, so I "clean up" one 
display and put all my BBEdit windows on that display, and share that 
display. The multi-doc single-window wouldn't solve my screen sharing 
anyway since I will often need iTerm in the mix.


Lastly, have you looked at Tuple? I haven't used it but I'm pretty sure 
they have a 'share screen selection' feature. But it's for pair 
programming and not sharing screen to a group.


- https://tuple.app

Anyway, I'm curious about your use-case and how you find to solve it - 
you are not the only one screen sharing BBEdit docs. ;-)


My main problem with screen sharing BBEdit windows is pixel/font size. 
Or maybe it's my large/retina screen being shared to non-retina laptop 
screens - I have to change BBEdit windows to at least 18pt font so text 
is big enough for others. And of course change the size back afterwards.


-cng

--

Charlie Garrison   
Garrison Computer Services  

--
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/82FBCFC5-B26C-4534-AC95-2B271BC5BD75%40garrison.com.au.


Re: Two files in the same window

2021-05-27 Thread Sam Hathaway

On 27 May 2021, at 4:47, 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.


Not sure if this will satisfy you, but you could open two windows, use 
Window > Tile Window to Left Side of Screen and Window > Tile Window to 
Right Side of Screen, and then share your entire screen (which will, at 
this point, will be completely consumed by your two files).


Cheers,
-sam

--
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/144D6F93-36AC-4CAB-B126-65705F7B04A1%40munkynet.org.


Re: Two files in the same window

2021-05-27 Thread Nestor Aguilera
Hi Jan,

If you don't mind having the files in separate windows, you could use the 
Arrange submenu inside the Window menu, with which you may tile or cascade 
windows in different forms.

Best,

Nestor

> On 27 May 2021, at 05:47, 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/583751AA-4ACD-4579-81AB-E691E307282D%40gmail.com.


Re: Two files in the same window

2021-05-27 Thread Ron Catterall
Heresy I know: BUT Supreme Text will do 2, 3 ...side by side same or 
different files


On 5/27/21 10:12 AM, 'Holger Bartel' via BBEdit Talk wrote:

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: 
--- 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: 
--- 
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/89cb2525-1f87-7eeb-b344-fd6803966745%40gmail.com.


Re: Handling dollar signs in search and replace

2021-05-27 Thread Duncan Thorne
Hi Chris,
I just noticed that you too use T-E+. I sing the praises of it every day 
and it's a big reason I'm still at Mojave, the last 32-bit compatible 
version of the OS. I wonder what happened to Tom Bender, the guy behind it. 
I've found no answer on Google.
Cheers,
Duncan

On Wednesday, May 26, 2021 at 4:30:08 PM UTC-6 listmei...@gmail.com wrote:

> On 05/25/2021, at 23:19, Duncan Thorne  wrote:
>
> Here's a sample line from my script where things go wrong:
>
> *tell* *front* *text window's* *text*
>
> *replace* "2021
>
> \$" using " \$" options {search mode:*grep*, case sensitive:*false*, 
> starting at top:*true*} -- the idea being to take out a line break and 
> replace it with a tab.
>
> *end* *tell*
>
> --
>
> Hey Duncan,
>
> Backslash is the escape character in AppleScript, so when you need to 
> write it as a literal you have to *escape* the escape character.
>
> *set* myDollarSign *to* "\\$"
>
> I *know* this is often quite confusing to neophyte AppleScripters, so 
> please forgive me for forgetting to mention it explicitly.
>
> For future references here's how you'd write the regular expression 
> in AppleScript:
>
> *tell* *application* "BBEdit"
> *tell* *front* *document*
> *replace* "(2021)\\n(\\$)" using "\\1\\t\\2" options {search mode:
> *grep*, case sensitive:*false*, starting at top:*true*}
> *end* *tell*
> *end* *tell*
>
> If you take the literal strings (between the quotes) and replace the "\\" 
> with "\" as a literal string in BBEdit you'll get unescaped version 
> that BBEdit wants.
>
> A perhaps simpler trick to see the literal string is to copy it to the 
> clipboard like so:
>
> *set the clipboard to* "(2021)\\n(\\$)"
>
> --> (2021)\n(\$)
>
> The part after “--> ” is the pasted result.
>
> “--> ” is a writing convention for indicating the result of an AppleScript.
>
> I too am a long time user of Tex-Edit Plus and will sorely miss it down 
> the road.
>
>
> --
> 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 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/9b1f60e2-998b-47c1-90d7-eabfbf036248n%40googlegroups.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: 
> 
> --- 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: 
--- 
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 Jan Erik Moström

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: 
--- 
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.


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.


Two files in the same window

2021-05-27 Thread Jan Erik Moström
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.