--- a/DiffTextView.st Thu Dec 11 21:48:46 2014 +0100
+++ b/DiffTextView.st Thu Dec 11 21:49:11 2014 +0100
@@ -193,9 +193,11 @@
text1 := t1 asStringCollection.
text2 := t2 asStringCollection.
-
- diffList := self diffListFor:text1 and:text2.
-
+ text1 = text2 ifTrue:[
+ diffList := #()
+ ] ifFalse:[
+ diffList := self diffListFor:text1 and:text2.
+ ].
self updateListsFrom:text1 and:text2 diffs:diffList
"
@@ -675,10 +677,10 @@
!DiffTextView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.65 2014-12-03 21:11:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.66 2014-12-11 20:49:11 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.65 2014-12-03 21:11:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.66 2014-12-11 20:49:11 cg Exp $'
! !