Word wrap is not working...

General TRichView support forum. Please post your questions here
Post Reply
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Word wrap is not working...

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

This helped:

Code: Select all

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