richedit: Pressing tab with selection back to start of table.
This commit is contained in:
parent
ac40efa911
commit
238fd58a09
|
@ -3678,6 +3678,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
para = ME_GetParagraph(cursor.pRun);
|
para = ME_GetParagraph(cursor.pRun);
|
||||||
if (ME_IsSelection(editor) &&
|
if (ME_IsSelection(editor) &&
|
||||||
cursor.pRun->member.run.nCharOfs + cursor.nOffset == 0 &&
|
cursor.pRun->member.run.nCharOfs + cursor.nOffset == 0 &&
|
||||||
|
to == ME_GetCursorOfs(editor, 0) &&
|
||||||
para->member.para.prev_para->type == diParagraph)
|
para->member.para.prev_para->type == diParagraph)
|
||||||
{
|
{
|
||||||
para = para->member.para.prev_para;
|
para = para->member.para.prev_para;
|
||||||
|
|
Loading…
Reference in New Issue