Blank Line on Save

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
tiagosis
Posts: 41
Joined: Thu Apr 13, 2017 5:34 pm

Blank Line on Save

Post by tiagosis »

Hello, I use SRichViewEdit to save a RTF document the document is saving with an empty line at the top for each time the document is saved what do I avoid these lines?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Blank Line on Save

Post by Sergey Tkachenko »

I believe this empty line is added not on RTF save, but on document generation or loading.
Each editor initially contains one empty text line. To remove it (before document generation or loading RTF file) call SRichViewEdit1.Clear;
tiagosis
Posts: 41
Joined: Thu Apr 13, 2017 5:34 pm

Re: Blank Line on Save

Post by tiagosis »

solved the problem
Post Reply