Re: [ASDoc] TextFlow

2013-03-19 Thread Gavriel Harbater

 Also, I'd think that flow.getElementsByTypeName(ParagraphElement) should 
 return an array of the ParagraphElements in the flow. This does not seem to 
 work. It retruns an empty array in my tests. Am I going about it wrong, or is 
 this a bug?

Okay. This was my error. This: flow.getElementsByTypeName(ParagraphElement) 
Should be this: flow.getElementsByTypeName(p) 

I think the docs should be clearer on what to specify here. I propose the 
following:

Instead of: Returns all elements that have typeName set to typeNameValue.
 
Returns all elements that have typeName as the TextFlow markup tag set to 
typeNameValue. 



Re: [ASDoc] TextFlow

2013-03-19 Thread Justin Mclean
HI,

 I think the docs should be clearer on what to specify here. I propose the 
 following:
 
 Instead of: Returns all elements that have typeName set to typeNameValue.
 
 Returns all elements that have typeName as the TextFlow markup tag set to 
 typeNameValue. 

The docs are generate from the code so supply a patch and we'll get someone to 
apply it.

Thanks,
Justin

Re: [ASDoc] TextFlow

2013-03-19 Thread Harbs
Okay. Done.

On Mar 19, 2013, at 1:51 PM, Justin Mclean wrote:

 HI,
 
 I think the docs should be clearer on what to specify here. I propose the 
 following:
 
 Instead of: Returns all elements that have typeName set to typeNameValue.
 
 Returns all elements that have typeName as the TextFlow markup tag set to 
 typeNameValue. 
 
 The docs are generate from the code so supply a patch and we'll get someone 
 to apply it.
 
 Thanks,
 Justin