Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Line Break / Paragraph Break
Re: Line Break / Paragraph Break [message #29976 is a reply to message #29973] Wed, 01 December 2010 19:55 Go to previous messageGo to previous message
unknown user
luzr wrote on Wed, 01 December 2010 19:34

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

Rolling Eyes Sorry for misinformation, but that's what i've thought for long time about QTF. Someone should add that to documentation to make it clear.
 
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: Sun Jun 09 15:13:50 CEST 2024

Total time taken to generate the page: 0.02432 seconds