Skip to main content
Known Participant
November 17, 2009
Question

@Jeff Mott: what is considered to be an FTE paragraph?

  • November 17, 2009
  • 1 reply
  • 522 views

@jeff Mott (or any else how knows the definition of an FTE paragraph )

In a TextField a paragraph ends when a carriage return or newline character is encountered. Is the same true for FTE? Or is it more to be seen like an HTML <p> element?

From the docs:

"The TextBlock class is intended to contain a single paragraph because the Unicode   bidirectional and line-break algorithms operate on one paragraph at a time. For applications   that compose multiple paragraphs of text, use a markup language, or text analysis to   divide the text into paragraphs and create one TextBlock per paragraph."

So if we have a chunk of text containing a few hard retruns need we to devide that into multiple TextBlock instances or will the the Unicode bidirectional and line-break algorithms work with the hard returns in one TextBlock?

- Benny

This topic has been closed for replies.

1 reply

Adobe Employee
November 18, 2009

I'd go with yes.  The returns in the middle of the paragraph are simply forced line breaks.

Hope that helps,

Richard

bvlAuthor
Known Participant
November 19, 2009

Yeah you are probably right. If hard returns wouldn't be allowed in a TextBlock then space justification would not work correct.