Module: wine Branch: master Commit: 238fd58a09cb6f8b8833df805782a04174462365 URL: http://source.winehq.org/git/wine.git/?a=commit;h=238fd58a09cb6f8b8833df8057...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Thu Aug 28 15:23:53 2008 -0400
richedit: Pressing tab with selection back to start of table.
---
dlls/riched20/editor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index aa59383..e8720e9 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -3678,6 +3678,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam, para = ME_GetParagraph(cursor.pRun); if (ME_IsSelection(editor) && cursor.pRun->member.run.nCharOfs + cursor.nOffset == 0 && + to == ME_GetCursorOfs(editor, 0) && para->member.para.prev_para->type == diParagraph) { para = para->member.para.prev_para;