Revision: 4095
          http://vexi.svn.sourceforge.net/vexi/?rev=4095&view=rev
Author:   clrg
Date:     2011-03-28 17:39:12 +0000 (Mon, 28 Mar 2011)

Log Message:
-----------
Fix wraptext write in lib.text.edit

Modified Paths:
--------------
    trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t

Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t
===================================================================
--- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t       
2011-03-28 15:45:36 UTC (rev 4094)
+++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t       
2011-03-28 17:39:12 UTC (rev 4095)
@@ -1879,9 +1879,10 @@
     /** whether to wrap text at the edge of the box */
     static.wraptextWrite = function(v) {
         cascade = v;
-        var n = numchildren;
+        var n = trapee.numchildren;
+        var wrap =  v and trapee.multiline;
         for (var i=0; n>i; i++) {
-            thisbox[i].multiline = v;
+            trapee[i].multiline = wrap;
         }
     }
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to