Quick compare if both strings are the same
authorStefan Vogel <sv@exept.de>
Tue, 23 Jan 2007 15:44:48 +0100
changeset 7602 cf179604a91b
parent 7601 3958b3fb0caa
child 7603 b4ae9e305bb7
Quick compare if both strings are the same
DiffTextView.st
--- a/DiffTextView.st	Tue Jan 23 12:55:41 2007 +0100
+++ b/DiffTextView.st	Tue Jan 23 15:44:48 2007 +0100
@@ -303,6 +303,11 @@
         ^ nil
     ].
 
+    text1 = text2 ifTrue:[
+        "no diff"
+        ^ ''
+    ].
+
     "
      save them texts in two temporary files ...
     "
@@ -668,5 +673,5 @@
 !DiffTextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.46 2006-11-20 12:18:15 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DiffTextView.st,v 1.47 2007-01-23 14:44:48 stefan Exp $'
 ! !