edit: update scroll info on WM_SETTEXT
Lauri Tulmin
lauri_ at ut.ee
Sat Feb 12 10:59:23 CST 2005
to test type a long line in notepad, turn word wrap on, turn word wrap
off -> look at horizontal scrollbar
-------------- next part --------------
Index: dlls/user/edit.c
===================================================================
RCS file: /home/wine/wine/dlls/user/edit.c,v
retrieving revision 1.14
diff -u -p -r1.14 edit.c
--- dlls/user/edit.c 19 Jan 2005 20:53:38 -0000 1.14
+++ dlls/user/edit.c 12 Feb 2005 16:17:21 -0000
@@ -4696,6 +4696,7 @@ static void EDIT_WM_SetText(EDITSTATE *e
EDIT_NOTIFY_PARENT(es, EN_UPDATE, "EN_UPDATE");
}
EDIT_EM_ScrollCaret(es);
+ EDIT_UpdateScrollInfo(es);
}
More information about the wine-patches
mailing list