Page 1 of 1

difference between IsFromNewLine and IsParaStart ?

Posted: Mon Oct 16, 2006 11:08 am
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,

Posted: Tue Oct 17, 2006 3:54 pm
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