Page 1 of 1

Word wrap is not working...

Posted: Fri May 28, 2010 3:41 pm
by Marsianin
I have some documents where word wrap is not working and I have no idea why this can happen. And nothing special in ruler too.

Posted: Fri May 28, 2010 3:46 pm
by Sergey Tkachenko
Possible reasons:
- RichViewEdit.WordWrap = False (unlikely, because this property is not saved in files)
- paragraphs have rvpaoNoWrap in Options
- RichViewEdit.MinTextWidth > 0 (this property is saved/loaded from RVF, if rvfoLoadLayout and rvfoSaveLayout are included in RVFOptions)

If it is because of some different reason, please send me one such document by e-mail.

Posted: Sun May 29, 2011 6:27 am
by Marsianin
This helped:

Code: Select all

RichViewEdit1.MinTextWidth:=0;
RichViewEdit1.MaxTextWidth:=0;