selectionChange is allowed if source is the same (care for tabs)
authorClaus Gittinger <cg@exept.de>
Mon, 03 Sep 2001 10:47:51 +0200
changeset 3094 fcdf5ae3d90a
parent 3093 bc46ce34a285
child 3095 8230afe273a6
selectionChange is allowed if source is the same (care for tabs)
DebugView.st
--- a/DebugView.st	Mon Sep 03 09:42:42 2001 +0200
+++ b/DebugView.st	Mon Sep 03 10:47:51 2001 +0200
@@ -3843,6 +3843,9 @@
         currentMethod source string = codeView contents string ifTrue:[
             ^ true
         ].
+        (currentMethod source string withTabsExpanded:8) = (codeView contents string withTabsExpanded:8) ifTrue:[
+            ^ true
+        ].
         (newSelection notNil
         and:[newSelection = contextView selection]) ifTrue:[
             ^ true
@@ -4375,6 +4378,6 @@
 !DebugView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.275 2001-08-01 09:57:42 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DebugView.st,v 1.276 2001-09-03 08:47:51 cg Exp $'
 ! !
 DebugView initialize!