Can BBEdit 13.5.3 still compare and find difference between text files

56 views
Skip to first unread message

Leng K

unread,
Dec 23, 2020, 8:13:27 AM12/23/20
to BBEdit Talk
Hi, 
Does anyone know if the upgrade BBEdit 13.5.3 can still compare and locate/ mark out the differences between 2 text docs? Have been trying to get this work but nothing shows. The previous version (12.6.4) was able to highlight out all differences in detail down to a single letter, clearly indicating on both documents the parts changed. Attached an example to illustrate the issue said. 

The 'Compare'/ 'Find Difference' function however works if comparing two HTML files. 


Compare.png

Peace Keeper

unread,
Dec 23, 2020, 9:19:26 AM12/23/20
to BBEdit Talk
Yepp, works very well on my side. I am using on the cmd line bbdiff file1.txt file2.txt
But also the Search -> Find Differences -> Compare two front windows  works and also marks the deleted word , paragraph and on.

Leng K

unread,
Dec 31, 2020, 8:39:38 AM12/31/20
to bbe...@googlegroups.com
Is there any setting that dictates how this 'Compare' function works? How and where do I apply the cmd line bbdiff file1.txt file2.txt? 
The 'Compare' function doesn't work if it's a text file, even with two unsaved file. These are the 2 ways I've been using prior to the upgrade. 

--
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 a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/qpR64uZIs1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/5b6418cb-6097-4d2e-b0fc-4339ce8b3d47n%40googlegroups.com.

Peace Keeper

unread,
Jan 2, 2021, 3:53:00 PM1/2/21
to BBEdit Talk
Hi,

if you compare you either could do this with the frontmost windows or you could ( in case you use a treeview) select which document is left and which right. I both cases you end up with a side by side comparison of the two selected documents and in the bottom a third window that states the differences per line. Here the first line in that window is selected and so also the first difference in both compared documents.If you klick in that third window on the second lien, the focus of comparison will change to the next difference and will highlight it. there is no special setup to do so. 

My quick tip with bbdiff means you need to have the cmd-lines tools installed ( This is under the BBEdit Menu a point). When you have done that you could open a Terminal and start the diff with bbdiff <first file> <second file> and you will see again bbedit with the three windows like descripted above.
Reply all
Reply to author
Forward
0 new messages