changed: #extendSelectionToX:y:
authorClaus Gittinger <cg@exept.de>
Mon, 01 Oct 2012 14:59:20 +0200
changeset 4456 b7212a96d7f4
parent 4455 febe97112d50
child 4457 f2efec2e3f93
changed: #extendSelectionToX:y:
TextView.st
--- a/TextView.st	Sat Sep 29 20:22:45 2012 +0200
+++ b/TextView.st	Mon Oct 01 14:59:20 2012 +0200
@@ -1628,7 +1628,7 @@
     ].
 
     (oldEndLine == selectionEndLine) ifTrue:[
-        (oldEndCol ~~ selectionEndCol) ifTrue:[
+        (oldEndCol notNil and:[oldEndCol ~~ selectionEndCol]) ifTrue:[
             self redrawLine:oldEndLine 
                        from:((selectionEndCol min:oldEndCol) max:1)
                          to:((selectionEndCol max:oldEndCol) max:1)
@@ -4569,11 +4569,11 @@
 !TextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.338 2012-09-29 18:22:45 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.339 2012-10-01 12:59:20 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.338 2012-09-29 18:22:45 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.339 2012-10-01 12:59:20 cg Exp $'
 ! !
 
 TextView initialize!