difference between IsFromNewLine and IsParaStart ?

General TRichView support forum. Please post your questions here
Post Reply
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

difference between IsFromNewLine and IsParaStart ?

Post by Stef »

For copying items, I need to know when a new line starts.
Now both IsFromNewLine and IsParaStart seems to work ok.
The help documenation doesn't make it more clear to me.
So my question,
what's the difference between these two ?

thanks,
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can add line break without starting a new paragraph. For such line breaks, IsFromNewLine=True, IsParaStart=False.

The difference is noticeable in numbered/bulleted paragraphs, paragraphs with borders, paragraphs with large SpaceBefore/SpaceAfter values. These line breaks are shown with different marks, if rvoShowSpecialCharacters is included in Options.

User can add line breaks with Shift+Enter.
In code, they can be added using SetAddParagraphMode
Post Reply