Can an item span two lines?

General TRichView support forum. Please post your questions here
Post Reply
conciliator
Posts: 25
Joined: Thu Sep 17, 2009 7:50 am

Can an item span two lines?

Post by conciliator »

Can an item span two lines?
conciliator
Posts: 25
Joined: Thu Sep 17, 2009 7:50 am

Post by conciliator »

A little investigation reveals that it can (in the form of word wrapping).

To clarify some: my original interest in the matter was the IsNewLine-method. At first, it seemed to me that the IsNewLine was true for all items. However, if you multiple items due to formating, it will turn out false for items not starting a new line. :)
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

IsFromNewLine ignores word wrapping. It is True if
- the item starts a paragraph, or
- the item starts a line without starting a paragraph (such line breaks can be added by Shift+Enter)
Post Reply