Search found 4 matches

by bbd
Tue Dec 06, 2022 8:38 pm
Forum: Support
Topic: append text with no LF
Replies: 6
Views: 7528

Re: append text with no LF

the problem is in line breaking of text like "this is parttially bold text" as "this is part" and "tially bold text", i.e. between text items instead of line breaking between words? No, In fact what i'm looking for is charwrap instead of wordwrap. My text is like a formula, i.e a string that might ...
by bbd
Tue Dec 06, 2022 2:33 pm
Forum: Support
Topic: append text with no LF
Replies: 6
Views: 7528

Re: append text with no LF

In fact I don't want to turn off word wrapping.
I'd like the richview display to wrap words correctly, I mean word by word.
by bbd
Tue Dec 06, 2022 1:55 pm
Forum: Support
Topic: append text with no LF
Replies: 6
Views: 7528

Re: append text with no LF

thks for your prompt reply.
I can find no property parastyles in rvstyle and the package for lazarus doesn't seem to include a richviewedit component.
I'm using Lazarus TRichview based on Richview v0.5.1
got it from https://github.com/serbod/lazrichview
Maybe that's the reason.
by bbd
Tue Dec 06, 2022 9:48 am
Forum: Support
Topic: append text with no LF
Replies: 6
Views: 7528

append text with no LF

Hi friends.
I'd like to concat some strings in a trichview.
Using
procedure Add(s: String;StyleNo:Integer);
generates automatic LF when the lenght of s is higher that the remaining space on the last line. I must expand the richview window to make s concat correctly with the previous string.