Author: jimtabor
Date: Thu Dec 25 18:42:13 2008
New Revision: 38349
URL:
http://svn.reactos.org/svn/reactos?rev=38349&view=rev
Log:
- Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outside
window (notepad). See bug 953.
Modified:
trunk/reactos/dll/win32/user32/controls/edit.c
Modified: trunk/reactos/dll/win32/user32/controls/edit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/edit.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/edit.c [iso-8859-1] Thu Dec 25 18:42:13 2008
@@ -4833,7 +4833,8 @@
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;
- SetTimer(es->hwndSelf, 0, 100, NULL);
+ if (!(es->style & ES_MULTILINE))
+ SetTimer(es->hwndSelf, 0, 100, NULL);
if (!(es->flags & EF_FOCUSED))
SetFocus(es->hwndSelf);