class: ListView
authorClaus Gittinger <cg@exept.de>
Wed, 05 Aug 2015 15:34:12 +0200
changeset 5392 ea4f821a6c38
parent 5391 98080a3105ae
child 5393 efb824b89cdf
class: ListView changed: #textFromLine:col:toLine:col: must return an empty collection if endCol is <= startCol; not nil.
ListView.st
--- a/ListView.st	Wed Aug 05 15:33:37 2015 +0200
+++ b/ListView.st	Wed Aug 05 15:34:12 2015 +0200
@@ -1517,7 +1517,7 @@
     ].
     
     sz := endLine - startLine + 1.
-    sz < 1 ifTrue:[^ nil].
+    sz < 1 ifTrue:[^ ''].
 
     text := StringCollection new:sz.