--- a/TextView.st Fri Oct 12 14:25:22 2018 +0200
+++ b/TextView.st Fri Oct 12 15:11:27 2018 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -5124,8 +5122,10 @@
l := selectionEndLine.
(selectionEndLine < clickLine
- or:[(selectionEndLine == clickLine and:[selectionEndCol < clickCol])])
- ifTrue:[
+ or:[(selectionEndLine == clickLine
+ and:[clickCol notNil
+ and:[selectionEndCol < clickCol]])]
+ ) ifTrue:[
t := selectionStartLine.
selectionStartLine := selectionEndLine.
selectionEndLine := t.