I'm looking for a way of detecting whether a given line in a richedit control has been wrapped, or is the result of wrapping. I had high hopes of both EM_FMTLINES and EM_*WORDBREAKPROC but neither appears to do the necessary. The alternative is to maintain an external buffer containing the text being edited, but that would have to be kept up to date with WM_GETTEXT ( in order to get the "soft" line feeds), which would slow the whole plot to a crawl. I hope I'm missing something obvious?
Announcement
Collapse
No announcement yet.
Richedit wordwrap/linewrap question
Collapse
X
-
Chris,
Do you mean a Richedit that the text changes and you update to show the new characters (or character) as it is typed?Engineer's Motto: If it aint broke take it apart and fix it
"If at 1st you don't succeed... call it version 1.0"
"Half of Programming is coding"....."The other 90% is DEBUGGING"
"Document my code????" .... "WHYYY??? do you think they call it CODE? "
Comment
-
-
Originally posted by Cliff Nichols View PostChris,
Do you mean a Richedit that the text changes and you update to show the new characters (or character) as it is typed?
Comment
-
Comment