CodePudding user response:
Richedit can underline, but no conduct line,CodePudding user response:
Find a solution,CodePudding user response:
With its Canvas painting, calculating the height of the current font +/2 + on each row spacing distance of each line Y positionCodePudding user response:
Every change a drawing? Which is not very trouble? And line height will change along with the font size,CodePudding user response:
Will determine the RichEdit, only heavy, not very troublesome, you as long as when the content of change, or change the font size, and redrawCodePudding user response:
How to redraw? Give the code, thank you!CodePudding user response:
"[Word painting line 5 big skill] 1. Input three"=", press enter, is a double line 2. Input the three "~", press enter, is a wavy line 3. The three input "*" enter, is a dotted line 4. Input three "-", press enter, is a straight line 5. Input three "#", press enter, is a interlaced line, you give it a try, look at the picture have the result! To friends!" And word of this effect in the richedit can achieve?CodePudding user response:
Help help!