richedit: Allow cursor to move over trailing spaces in wrapped lines.
This commit is contained in:
parent
163e9d1d02
commit
308582b4f5
|
@ -209,7 +209,7 @@ ME_GetCursorCoordinates(ME_TextEditor *editor, ME_Cursor *pCursor,
|
|||
row->member.row.nLMargin);
|
||||
}
|
||||
}
|
||||
if (pCursor->nOffset && !(run->member.run.nFlags & MERF_SKIPPED)) {
|
||||
if (pCursor->nOffset) {
|
||||
sz = ME_GetRunSize(&c, ¶->member.para, &run->member.run, pCursor->nOffset,
|
||||
row->member.row.nLMargin);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue