Re: Script help - Convert untitled text to notes

2021-07-23 Thread Christopher Waterman
Another option of note …  … … anyway. The BBEdit command line utility has a note flag. So this should work tell application "BBEdit" set docList to text documents whose name starts with "untitled" and on disk is false repeat with theDoc in docList

Re: XML linter?

2021-07-23 Thread @lbutlr
On 2021 Jul 23, at 13:10, jj wrote: > Did you try xmllint ? Ah, yes I do. Now, how to use it within BBEdit. (The only 'lint' mention in the manual is about using bbresults from the command line). -- "Are you pondering what I'm pondering?" "I think so, Brain, but what would goats be doing in

Re: XML linter?

2021-07-23 Thread jj
Did you try xmllint ? Check if it is installed on your setup by typing in the Terminal: which xmllint If it is not installed you can intall it from Homebrew. It's part of the libxml2 package. In Terminal type: brew install libxml2 HTH Jean Jourdain On Friday, July 23, 2021

Re: [ANN] BBEdit 14.0

2021-07-23 Thread Marshall Clow
On Jul 19, 2021, at 11:39 AM, Rich Siegel wrote: > > * *Notes* - We know that many of our customers create a lot of > untitled documents for quick note-taking, and rely on BBEdit's > legendary stability and robust crash recovery to protect their > work. We've added a new

Re: [ANN] BBEdit 14.0

2021-07-23 Thread @lbutlr
On 2021 Jul 20, at 17:00, Lorin Rivers wrote: > On Jul 19, 2021, at 1:39 PM, Rich Siegel wrote: >> **Notes* - We know that many of our customers create a lot of >> untitled documents for quick note-taking, and rely on BBEdit's >> legendary stability and robust crash recovery to

Re: XML linter?

2021-07-23 Thread @lbutlr
On 2021 Jul 23, at 05:47, Edzard de Ranitz wrote: > The build in function Markup > Tidy > Reflow works fine for me for XML It does not check syntax like a linter does. (Fore example, XML wants instead of -- Noble dragons don't have friends. The nearest they can get to the idea is

Re: Script help - Convert untitled text to notes

2021-07-23 Thread Christopher Stone
> On Jul 23, 2021, at 10:03, Jim Straus wrote: > > I've created a script to convert all my untitled text documents to notes > (kind of surprised something like this wasn't provided with the release of > BBEdit 14). It generally works, but for some notes the body is empty. If I > put in a

Script help - Convert untitled text to notes

2021-07-23 Thread Jim Straus
I've created a script to convert all my untitled text documents to notes (kind of surprised something like this wasn't provided with the release of BBEdit 14). It generally works, but for some notes the body is empty. If I put in a dialog with the text, it works, but that means I have to

Re: XML linter?

2021-07-23 Thread Edzard de Ranitz
The build in function Markup > Tidy > Reflow works fine for me for XML On Thursday, 22 July 2021 at 18:46:53 UTC-3 kre...@kreme.com wrote: > A brief mention of using linters with BBEdit got me wondering if there is > a linter for XML that works on macOS? The only thing I find one looking >

Re: Emmet

2021-07-23 Thread Watts Martin
I've verified Emmet working when Node is installed installed the following ways: - from the Node.js installer package, installed in /usr/local/bin - from Homebrew, installed in /usr/local/bin - from Homebrew on Apple Silicon, installed in /usr/local/bin Once it's installed that way, I'd

Re: Emmet

2021-07-23 Thread Greg Raven
In my experience, the node_modules folder winds up in the user directory after installing NodeJS / NPM from nodejs.org. When you install using Homebrew (brew.sh), the supporting files seem to wind up where they belong in /usr/local/bin/ (as symbolic links, of course). On Thursday, July 22,