With BBE11, the Differences Window always lands on my primary display.  In 
BBE 10 and earlier, it would open on the last monitor that it was placed.

With BBE11, when Differences Window is made taller (e.g., on a bigger 
screen), the differences list (bottom of the combined view window) 
stretches instead of the two files being compared.  Not so helpful.  Why 
don't the panes for the files under compare be stretched, instead?

I have been using a script (that when saved as an Application onto Desktop) 
that when you drop 2 files onto it, will open the Differences Window.  Very 
handy!
This script still works with BBE11 but I want to add control over the 
Differences Window location, size and proportions (see below).

Ideally, would like to this script to be able to also do the following:

a) Detect if a particular monitor is connected, and if so, place Diff 
Window on that monitor instead of main screen
b) Expand the Diffs Window to a given x-y size  -or-  to set proportion 
size on the screen
c) Adjust the Diffs Window proportions to show mostly the files under 
comparison and 6-8 lines of differences list.


Here is the script that has been invaluable over the years, but that I 
would like to improve to accomplish tasks listed above (many thanks to 
Christian Smith!)


(* BBE Compare Two Files

BASED ON: Compare Files (ignoring spaces)   (BBE 6 CD-ROM)

This script compares the top two text windows in BBEdit.
It determines which is old and which is new based on their
mod dates and compares them ignoring any differences in
spaces/tabs.

Composed by Christian Smith on August 19, 2000
Distributed with BBEdit 6.0
*)

on open (file_list)
 tell application "BBEdit" 
activate
repeat with f in file_list
open f
end repeat
 set m1 to modification date of text window 1
set m2 to modification date of text window 2
 if (m1) < (m2) then
set f2 to file of text window 1
set f1 to file of text window 2
else
set f1 to file of text window 1
set f2 to file of text window 2
end if
 if (m1) < (m2) then
set f2 to file of text window 1
set f1 to file of text window 2
else
set f1 to file of text window 1
set f2 to file of text window 2
end if
 set c_options to {case sensitive:true, ignore curly quotes:false, ignore 
leading spaces:true, ignore trailing spaces:true, ignore extra spaces:true, 
}
 if not differences found of (compare f1 against f2 options c_options) then
beep -- beeps if there are no differences
end if
 end tell
end open

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" 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 [email protected].
To post to this group, send email to [email protected].

Reply via email to