mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outside window (notepad). See bug 953.
svn path=/trunk/; revision=38349
This commit is contained in:
parent
131b8b30ad
commit
ea9bc8715d
1 changed files with 2 additions and 1 deletions
|
@ -4833,6 +4833,7 @@ static LRESULT EDIT_WM_LButtonDown(EDITSTATE *es, DWORD keys, INT x, INT y)
|
|||
EDIT_EM_SetSel(es, (keys & MK_SHIFT) ? es->selection_start : e, e, after_wrap);
|
||||
EDIT_EM_ScrollCaret(es);
|
||||
es->region_posx = es->region_posy = 0;
|
||||
if (!(es->style & ES_MULTILINE))
|
||||
SetTimer(es->hwndSelf, 0, 100, NULL);
|
||||
|
||||
if (!(es->flags & EF_FOCUSED))
|
||||
|
|
Loading…
Reference in a new issue