A paragraph is just what it normally means – text that is formatted as a block and ends with a new line. I will end this paragraph by pressing the Return key at the end of this sentence.Not every new line ends a paragraph, though.
Here I pressed Shift-Return to get new lines
inside a paragraph.
You can probably see the effect better in a
Notes client.
A run of text is some text within a paragraph that has some style applied to it. For example, this bold text is a run. The plain text before and after it might be considered as runs too.
but the instruction (…FindNextElement(RTELEM_TYPE_TEXTPARAGRAPH)) ignores the new lines, which I created in such a way.
The other one i tried was the methods FindFirstString and FindNextString from the NotesRichTextNavigator class. That does not seem to function correctly:
To find the first string (for example “[”) is no problem, but to to find the next string is not possible. The instruction (…FindNextString…) finds nothing more, although it has still many of the looked string.
A new line does not make a new paragraph. Chr$(13) is like typing Shift-Return. You cannot make a new paragraph using FindAndReplace. You can append a new paragraph using AddNewLine(1, True).