We add a line of text using AddNL( text, tstyle1, pstyle1). Then we add a
number that is an exponent using AddNL( exponenttext, exponentstyle,
-1). Wordwrap causes the line to break at the exponent, but we need the
exponent to stay with the last value from the first line of text, or it
does not make sense. How do we make RichView break at a space or period? Is this code that can be fixed? Where is it in the source?
Exponent wordwrap issue
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Sorry, it cannot be fixed by property settings or like this. TrichView breaks lines between items (text of different styles) like between spaces.
It will be fixed in one of future versions, but I cannot say when it will be completed.
Line wrapping is in FormatLine procedure (CRVFData.pas), the most complicated procedure in the component.
It will be fixed in one of future versions, but I cannot say when it will be completed.
Line wrapping is in FormatLine procedure (CRVFData.pas), the most complicated procedure in the component.