flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: Improved comments
Date Fri, 22 Mar 2013 06:38:02 GMT
Updated Branches:
  refs/heads/master d378e2f76 -> 5e461b06f


Improved comments


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/5e461b06
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/5e461b06
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/5e461b06

Branch: refs/heads/master
Commit: 5e461b06ff910577f392c8f13dfa54aa477ab5df
Parents: d378e2f
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Mar 22 17:37:43 2013 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Mar 22 17:37:43 2013 +1100

----------------------------------------------------------------------
 .../src/flashx/textLayout/elements/TextFlow.as     |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/5e461b06/textLayout/src/flashx/textLayout/elements/TextFlow.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/elements/TextFlow.as b/textLayout/src/flashx/textLayout/elements/TextFlow.as
index 0263256..a248665 100755
--- a/textLayout/src/flashx/textLayout/elements/TextFlow.as
+++ b/textLayout/src/flashx/textLayout/elements/TextFlow.as
@@ -197,11 +197,12 @@ package flashx.textLayout.elements
 	 * hierarchical tree of elements. TextFlow is the root object of the element tree. All elements
on the tree
 	 * derive from the base class, FlowElement. 
 	 *
-	 * <p>A TextFlow object can have ParagraphElement and DivElement objects as children.
A div (DivElement object)
-	 * represents a group of paragraphs (ParagraphElement objects). A paragraph can have SpanElement,
InlineGraphicElement, 
+	 * <p>A TextFlow object can have ParagraphElement, ListElement and DivElement objects
as children. A div (DivElement
+	 * object) represents a group of paragraphs (ParagraphElement objects). A ListElement contains
ListItemElement objects
+	 * which in turn contain one or more ParagraphElement objects. A paragraph can have SpanElement,
InlineGraphicElement, 
 	 * LinkElement, and TCYElement objects as children.</p>
 	 * 
-	 * <p>A span (SpanElement) is a range of text in a paragraph that has the same attributes.
An image 
+	 * <p>A span (SpanElement) is a range of text in a paragraph that has the same attributes.
An image
 	 * (InlineGraphicElement) represents an arbitrary graphic that appears as a single character
in a line of text. A 
 	 * LinkElement represents a hyperlink, or HTML <code>a</code> tag, and it can
contain multiple spans. A TCYElement object
 	 * is used in Japanese text when there is a small run of text that appears perpendicular
to the line, as in a horizontal
@@ -586,7 +587,8 @@ package flashx.textLayout.elements
 		 * @param styleNameValue The name of the style for which to find elements that have it
set.
 		 *
 		 * @return An array of the elements whose <code>typeName</code> value matches
<code>typeNameValue</code>. For example,
-		 * all elements that have the type name "foo".
+		 * all elements that have the type name "foo". A <code>typeName</code> is the
TextFlow markup tag (such as the
+		 * <code>&lt;p&gt;</code> tag for ParagraphElements).
 		 *
 		 * @playerversion Flash 10
 		 * @playerversion AIR 1.5
@@ -1216,4 +1218,4 @@ class HostFormatHelper
 		return _computedPrototypeFormat;
 	}		
 		
-}
\ No newline at end of file
+}


Mime
View raw message