Revision: 4599 http://sourceforge.net/p/vexi/code/4599 Author: clrg Date: 2013-11-26 11:28:51 +0000 (Tue, 26 Nov 2013) Log Message: ----------- Use "text" cursor on text widgets
Modified Paths: -------------- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t 2013-11-21 22:06:41 UTC (rev 4598) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t 2013-11-26 11:28:51 UTC (rev 4599) @@ -84,6 +84,8 @@ $edit.focused ++= function(v) { cascade = v; $cursor.repeat = v; } thisbox.cursorcolor ++= static.cursorcolorWrite; + thisbox.cursor = "text"; + thisbox.enabled ++= static.enableWrite; .util.redirect..addRedirect(thisbox, v_edit, "interactive", "multiline", "textalign", "wraptext", "wrapwidth"); @@ -91,4 +93,6 @@ static.cursorcolorWrite = function(v) { cascade = v; trapee.v_cursor.fill = v; } + static.enableWrite = function(v) { cascade = v; trapee.cursor = v?"text":null; } + </vexi> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn