U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » Line Break / Paragraph Break
Re: Line Break / Paragraph Break [message #29973 is a reply to message #29932] Wed, 01 December 2010 19:34 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
andreincx wrote on Tue, 30 November 2010 11:09

evandro.poa wrote on Tue, 30 November 2010 10:56

Hi there,
Iīm new in U++ and I was looking in QTF specification, but i canīt find distinction between a line break and a paragraph break, it exists?

If not, how I could archive this feature, have a line break in a paragraph without break a paragraph?

thanks in advanced.

[ [l60; In paragraph&New line, same paragraph&][ New paragraph]]

There is a distinction... '[]' means paragraph and '&' means "new line". New line may be in paragraph or outside of it. If you don't add a new line at the end or start of a paragraph it share same line as previous paragraph. QTF is a bit different that other "text formats", it doesn't include new line at the end of a paragraph, here paragraph is an style-able entity, so you may have paragraphs in paragraphs.


Sorry, but this explanation is IMO incorrect.

'&' is always the paragraph break. There are no line breaks in QTF (it is document format).

'[' and ']' are formatting brackets. Formatting can be active over the span of several paragraphs (even tables and table cells).

Mirek
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to put a custom ctrl on RichTextView?
Next Topic: Index / Table of Contents in PDF ?
Goto Forum:
  


Current Time: Thu Jun 11 19:42:11 GMT+2 2026

Total time taken to generate the page: 0.00611 seconds