Skip to main content
Known Participant
Nov 17, 2009 11:36 AM UTC
Question

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

@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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Nov 18, 2009 9:54 PM UTC

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

Hope that helps,

Richard

Translate
bvlAuthor
Known Participant
Nov 19, 2009 10:12 AM UTC

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

Translate