class: EditTextView
authorca
Thu, 21 May 2015 13:15:36 +0200
changeset 5357 d942c4152f03
parent 5355 980fd310874e
child 5359 1cd1ea860d26
class: EditTextView changed: #insertLines:from:to:before: no autoindent when pasting multiple lines
EditTextView.st
--- a/EditTextView.st	Wed May 20 12:28:39 2015 +0200
+++ b/EditTextView.st	Thu May 21 13:15:36 2015 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -3213,7 +3211,8 @@
      srcY "{ Class: SmallInteger }"
      dstY "{ Class: SmallInteger }" |
 
-    autoIndent ifTrue:[
+    "wrong when pasting multiple lines"
+    false "autoIndent" ifTrue:[
         indent := self leftIndentForLine:lineNr.
 
         text := someText 
@@ -8737,10 +8736,10 @@
 !EditTextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.637 2015-03-27 13:12:57 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.638 2015-05-21 11:15:36 ca Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.637 2015-03-27 13:12:57 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.638 2015-05-21 11:15:36 ca Exp $'
 ! !