You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/05/24 11:54:00 UTC
[royale-asjs] branch feature/MXRoyale updated: Update
SkinnableTextBase.as for TextArea
This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new 2c1ea10 Update SkinnableTextBase.as for TextArea
2c1ea10 is described below
commit 2c1ea102d19952a9b03fcad4d0dd820d0b2c7435
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Thu May 24 16:53:58 2018 +0500
Update SkinnableTextBase.as for TextArea
---
.../components/supportClasses/SkinnableTextBase.as | 25 +++++++++++-----------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
index afda2b3..1bcfe23 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
@@ -97,7 +97,7 @@ include "../../styles/metadata/SelectionFormatTextStyles.as" */
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
-//[Style(name="borderVisible", type="Boolean", inherit="no", theme="spark, mobile")]
+[Style(name="borderVisible", type="Boolean", inherit="no", theme="spark, mobile")]
/**
* The alpha of the content background for this component.
@@ -1094,7 +1094,7 @@ public class SkinnableTextBase extends SkinnableComponent
// maxChars
//----------------------------------
- //[Inspectable(category="General", defaultValue="0")]
+ [Inspectable(category="General", defaultValue="0")]
/**
* @copy flash.text.TextField#maxChars
@@ -1106,16 +1106,16 @@ public class SkinnableTextBase extends SkinnableComponent
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
- /* public function get maxChars():int
+ public function get maxChars():int
{
- if (textDisplay)
+ /* if (textDisplay)
return textDisplay.maxChars;
// want the default to be 0
var v:* = textDisplayProperties.maxChars;
- return (v === undefined) ? 0 : v;
- } */
-
+ return (v === undefined) ? 0 : v; */
+ return 0;
+ }
/**
* @private
*/
@@ -1369,7 +1369,7 @@ public class SkinnableTextBase extends SkinnableComponent
// text
//----------------------------------
- //[Inspectable(category="General", defaultValue="")]
+ [Inspectable(category="General", defaultValue="")]
/**
* The text displayed by this text component.
@@ -1390,9 +1390,9 @@ public class SkinnableTextBase extends SkinnableComponent
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
- /* public function get text():String
+ public function get text():String
{
- if (textDisplay)
+ /* if (textDisplay)
return textDisplay.text;
// If there is no textDisplay, it isn't possible to set one of
@@ -1400,8 +1400,9 @@ public class SkinnableTextBase extends SkinnableComponent
// want the default to be the empty string
var v:* = textDisplayProperties.text;
- return (v === undefined) ? "" : v;
- } */
+ return (v === undefined) ? "" : v; */
+ return "";
+ }
/**
* @private
--
To stop receiving notification emails like this one, please contact
alinakazi@apache.org.