Revision: 4462
          http://vexi.svn.sourceforge.net/vexi/?rev=4462&view=rev
Author:   clrg
Date:     2012-12-10 06:20:37 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Fix

Modified Paths:
--------------
    trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/textfield.t

Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/textfield.t
===================================================================
--- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/textfield.t        
2012-12-07 06:56:35 UTC (rev 4461)
+++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/textfield.t        
2012-12-10 06:20:37 UTC (rev 4462)
@@ -69,7 +69,8 @@
                 else return;
             }
             
-            if (edit.select and ((v.length == 1) or (v == "delete") or (v == 
"back_space"))) {
+            if (edit.select and ((v.length == 1) or
+                    (v.toLowerCase() == "delete") or (v.toLowerCase() == 
"back_space"))) {
                 // delete text matching selected text
                 if (cPos > sPos) {
                     val = val.substring(0, sPos) + val.substring(cPos, 
val.length);

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to