On Jun 12, 2018, at 14:41, 'Martin Petersen' via BBEdit Talk <bbe...@googlegroups.com> wrote:Played around with the Demo and I must say I am impressed by the support for Regular Expressions in the find and replace dialogue. Yet I can not find support (syntax coloring) for AppleScripts. Neither is a .scpt file automatically recognized nor can I find AppleScript in the language scopes at the bottom of the window. I am sure I do something wrong but what?
On Jun 13, 2018, at 1:21, 'Martin Petersen' via BBEdit Talk <bbe...@googlegroups.com> wrote:Thanks, but still no syntax colouring. Any idea?
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://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+un...@googlegroups.com.
To post to this group, send email to bbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
Played around with the Demo and I must say I am impressed by the support for Regular Expressions in the find and replace dialogue. Yet I can not find support (syntax coloring) for AppleScripts.
On Jun 24, 2018, at 1:28, Christopher Stone <listm...@suddenlink.net> wrote:Hey Martin,See this page.The modules available won't have as comprehensive coloring as the Script Editor or Script Debugger, but they're better than nothing.
NOTE: The main goal here is to diagnose and fix a corrupt XML file.
I've got an XML file that is compressed. The extension is neither XML nor a compression. It's a .prproj (Adobe Premiere Pro) project file.
.prproj is .xml content using a .prproj extension and compressed, I believe, using .gz compression.
If I change the extension from .prproj to .xml and open in BBEdit directly, it opens showing standard XML contents, albeit truncated before it ends.
That truncation originally gave the impression the file was corrupted by Adobe during a save which didn't complete.
If that's true, so be it -- there's nothing we can do.
BUT the subsequent steps thickened the plot a bit...
If I change the original file's extension to .gz and attempt to gunzip it, the attempt fails.
The same happens when attempting to decompress using the Mac OS app 'The Unarchiver' -- an error, BUT the app it will allow you to continue, and on a second attempt does somewhat successfully decompress the file. This attempt results in a large, truncated XML file, almost the same as the BBEdit version, but not quite the same. Wasn't expecting that different end point.
So a number of questions:
- Out of curiosity, what is BBEdit really doing when it detects the compression in the XML file. Which decompression technique? Is it using an auto-detect technique? Or something along the lines of gunzip?
- If gunzip, why was a Terminal attempt at decompressing the same file (with a .gz extension) using gunzip unsuccessful?
- If I make a change to the BBEdit-opened compressed XML file and save it, the resulting file size is still compressed, as if BBEdit opened and compressed XML and therefore saves it compressed. There's no indication I'm aware of in BBEdit that the XML is compressed, so I'm not 100% sure of that, but if I copy/paste/save the contents into a new BBEdit file, save as XML, those same contents are 20X the size. Is BBEdit quietly saving XML as compressed. If so, is it indicated anywhere?
- Why would BBEdit and The Unarchiver.app decompress semi-successfully but to different end points? Which leads to...
...The main question: What's the possibility the problem is NOT that Adobe failed midway through a save, and the problem is really some kind of compression hiccup -- that all the data's there, but we have to resolve the decompression hiccup and patch up the XML to recover the our original project file?
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/507D702F-983E-482F-8273-38B99DC70015%40gmail.com.
11773 Slow Poke Lane, Grass Valley, California 95945
Byers is committed to protecting your health and safety with a Virtual Consultation.
Reviews on Google • Give Us Feedback
We are here to help you Stay Safe!
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAJMCtK3aYJffs5R1%2Br4KMvGMEfU%2B_SvbF28Jig2-mdnw30zqvQ%40mail.gmail.com.