Hello,
how do i insert rich text into richviewedit without inserting a new line at the end of the text. I use the InsertRTFFromStreamEd function, there is a new line after the inserted content.
Thanks
Insert RTF from stream without line break
Re: Insert RTF from stream without line break
Hi,
Has there been any updates regrading this post? I believe I am running into the same issue.
Thank you
Has there been any updates regrading this post? I believe I am running into the same issue.
Thank you
-
- Site Admin
- Posts: 17520
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Insert RTF from stream without line break
Current behavior: insert the ending line break when inserting RTF as an editing operation; ignore it overwise.
It is hard-coded.
If you want to change it, modify the line in RVRTFProps.pas:
from
to
It is hard-coded.
If you want to change it, modify the line in RVRTFProps.pas:
from
Code: Select all
TRVRTFReader(Reader).ProcessFinalPar := EditFlag;
Code: Select all
TRVRTFReader(Reader).ProcessFinalPar := False;