Not a default, but you can turn off the warnings each time Check Syntax is run 
with some UI AppleScripting attached to the menu item. Something like
*on* menuselect(menuName, itemName)
-- returning false lets the menu command itself run
*return* *false*
*end* menuselect

*on* postmenuselect(menuName, itemName)
*if* menuName = "Check" *and* itemName = "Document Syntax" *then*
*tell* *application* "System Events"
*tell* *process* "BBEdit"
*if* name *of* *window* 1 *contains* "HTML Syntax Error" *then*
*tell* *window* 1
*set* warning_checkbox *to* (name *of* *every* *checkbox* *whose* name 
*contains* "Warning") *as* *text*
*if* value *of* *checkbox* warning_checkbox *is* 1 *then*
*click* *checkbox* warning_checkbox
*end* *if*
*end* *tell*
*end* *if*
*end* *tell*
*end* *tell*
*end* *if*
*end* postmenuselect 

saved as Check•Document Syntax to the Menu Scripts folder of your BBEdit's 
application support folder should do the trick. The first time you run it you 
might get an error and have to grant BBEdit permission to control your computer.



On Thu, Jun 6, 2019, at 6:22 AM, @lbutlr wrote:
> On Jun 2, 2019, at 11:15 AM, @lbutlr <[email protected]> wrote:
> > Is it possible to have the syntax check (Markup => Check => Document 
> > Syntax) default to NOT showing warnings unless I click on the warnings 
> > check box? I only want to see actual error by default since in nearly all 
> > cases warnings are spurious “URL may need to be encoded” and I have to 
> > uncheck the 282 warnings to be able to find the one actual error.
> 
> (Or go turn off the check box every time, of course)
> 
> > Searching the prefs for “warn” and “syntax" showed no results.
> 
> I’ll take the overwhelming silence as a “no, you can’t do that”. Sigh.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/a683dea7-50a2-4ab8-af1f-6579ccce79d9%40www.fastmail.com.

Reply via email to