Revision: 1960
          http://svn.sourceforge.net/vexi/?rev=1960&view=rev
Author:   clrg
Date:     2007-07-08 21:55:06 -0700 (Sun, 08 Jul 2007)

Log Message:
-----------
Fix word removal from blocks

Modified Paths:
--------------
    widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t        
2007-07-09 04:51:36 UTC (rev 1959)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t        
2007-07-09 04:55:06 UTC (rev 1960)
@@ -208,6 +208,7 @@
     /** trap: update new children to identify themselves as the current word */
     static.ChildrenFunc = function(v)
     {
+        cascade = v;
         // child added
         if (v != null)
         {
@@ -217,10 +218,9 @@
         // child removed
         else
         {
-            v = trapee[arguments.trapname];
-            v.Enter --= trapee.activeTrap;
+            var c = trapee[arguments.trapname];
+            c.Enter --= trapee.activeTrap;
         }
-        cascade = v;
     }
     
     /** sets minimum height of a block */


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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to