______________________________________________________________________
I think I agree with you on this one.
Unlike in the 'sort lines' command vs the 'sort lines' dialog you cannot open the 'find differences' dialog, change settings, dismiss the dialog, and have those new settings work for 'compare front two documents'.
This is what the manual says:
"Performs a Find Differences on the two frontmost text documents, using the same settings currently active for the Find Differences command."
I think you should contact support with a feature request. Bare Bones Software <
sup...@barebones.com>
In the meantime you can script it to your liking:
try
tell application "BBEdit"
compare window 1 against window 2 options ¬
{case sensitive:true, ignore curly quotes:true, ignore extra spaces:true, ignore leading spaces:true, ignore trailing spaces:true}
end tell
on error eMsg number eNum
set {c, s} to {return, "------------------------------------------"}
set e to s & c & "Error: " & eMsg & c & s & c & "Error Number: " & eNum & c & s
beep
display dialog e
end try
If you want more flexibility you can do something like this:
set compOpts to {"All Options: false", "case sensitive:true", "ignore curly quotes:true", "ignore extra spaces:true", "ignore leading spaces:true", "ignore trailing spaces:true"}
tell application "BBEdit"
tell me to set compOpts to choose from list compOpts ¬
with title "Compare Front Two Documents" with prompt ¬
"Select Options" default items (items 2 thru -1 of compOpts) ¬
multiple selections allowed true ¬
with empty selection allowed
end tell
Note that this script only demonstrates using choose-from for options and doesn't flesh-out the logics of actually using the items returned.
--
Best Regards,
Chris