Revision: 4140 http://vexi.svn.sourceforge.net/vexi/?rev=4140&view=rev Author: clrg Date: 2011-05-17 01:15:56 +0000 (Tue, 17 May 2011)
Log Message: ----------- Remove value writes from lib.text.field; that's a widget-specific implementation (and indeed already implemented in the appropriate ways in most field-preapplying widgets). Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/field.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/field.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/field.t 2011-05-16 18:56:11 UTC (rev 4139) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/field.t 2011-05-17 01:15:56 UTC (rev 4140) @@ -74,7 +74,6 @@ if (v == "enter" || v == "ENTER") { // fire action trapee.action = true; - trapee.value = trapee.value; } else if (v.length>1) { // pass to edit edit.KeyPressed = v; @@ -172,9 +171,6 @@ trapee.th_view.width --= sync; trapee.th_viewport.width --= sync; } - // wrap in a try/catch so not to break the focus model - try { trapee.value = trapee.value; } - catch (e) { vexi.log.info(e); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn