General > The Campus
Richedit wrap
HSE:
Hi all!
Is there a trick to make Richedit align wrap line like this?:
--- Code: ---"list":[
{
"item": "this is the line
wrapped"
}
]
--- End code ---
What I obtaining is:
--- Code: ---"list":[
{
"item": "this is the line
wrapped"
}
]
--- End code ---
Thanks in advance, HSE.
hutch--:
Hector, the only thing I can think of is autoindent which you have to code yourself. I have done them in editors but they are no joy to code.
jj2007:
It's possible with paragraph formatting, but I would have to look it up.
HSE:
--- Quote from: hutch-- on November 01, 2022, 07:07:16 AM ---the only thing I can think of is autoindent which you have to code yourself. I have done them in editors
--- End quote ---
--- Quote from: jj2007 on November 01, 2022, 07:15:33 AM ---It's possible with paragraph formatting, but I would have to look it up.
--- End quote ---
Thanks Huth and JJ!!
Not successful yet, but I was beginning to try in that way :thumbsup:
jj2007:
Here is a snippet from RichMasm:
--- Code: --- CASE PFM_STARTINDENT or PFM_RIGHTINDENT or PFM_OFFSET
mov pf2.dxOffset, eax ; twips, max 9999
mov pf2.dxRightIndent, edx ; twips
ENDSW
invoke SendMessage, hRE, EM_SETPARAFORMAT, 0, addr pf2
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version