Revision: 2352
          http://vexi.svn.sourceforge.net/vexi/?rev=2352&view=rev
Author:   clrg
Date:     2007-09-28 10:44:10 -0700 (Fri, 28 Sep 2007)

Log Message:
-----------
Fix JSExn caused by: text.selectAll(); edit.text=""; edit.KeyPressed = k;

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

Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2007-09-28 
16:55:51 UTC (rev 2351)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2007-09-28 
17:44:10 UTC (rev 2352)
@@ -862,6 +862,7 @@
         /** handles keyboard editing - cursor movement, character insertion 
and deletion */
         KeyPressed ++= function(v)
         {
+            //try { throw "edit.KeyPressed: "+v; } catch(e) { 
vexi.log.info(e); };
             cascade = v;
             // the index of cWord in cBlock
             cwInd = cWord ? cBlock.indexof(cWord) : null;
@@ -1764,6 +1765,7 @@
                 cascade = null;
                 while (thisbox[0]) thisbox[0] = null;
                 thisbox[0] = newblock;
+                select = false;
             }
             // normal text put
             else


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to