142 Commits

Author SHA1 Message Date
Aric Stewart
27e3e1a89b usp10: Correct error in EDIT_GetLineRect in index for ScriptStringCPtoX. 2011-12-21 18:06:51 +01:00
Aric Stewart
b83c587f6e user32: Do not simply return 0 in EDIT_EM_PosFromChar if line ssa is NULL. 2011-12-20 20:06:34 +01:00
Aric Stewart
3f1a8f6668 user32: Modify EDIT_GetLineRect to better handle RTL lines. 2011-12-20 20:06:33 +01:00
Aric Stewart
4012cc070e user32: Protect against NULL ssa to prevent crashes in old native usp10. 2011-12-06 16:09:34 +01:00
Francois Gouget
51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Aric Stewart
5e32724210 user32: Only attempt autoscroll line breaking on an edit control when we have a reasonable width to break to. 2011-11-02 12:28:28 +01:00
Aric Stewart
64adeb0285 user32: Early versions of usp10 are not well behaved with ScriptString_pSize when SCRIPT_STRING_ANALYSIS is NULL. 2011-11-01 16:43:24 +01:00
Aric Stewart
4b7300ef77 user32: Respect rev for painting selections. 2011-10-31 16:53:42 +01:00
Aric Stewart
c83841ca0e user32: Improvement for performance in soft linebreaking. 2011-10-28 12:45:56 +02:00
Aric Stewart
820460fcce user32: Handle PosFromChar if the string is empty and so we have no ssa. 2011-10-28 12:45:35 +02:00
Aric Stewart
94bd422f89 user32: When building linedefs prev can be less than 0 if the format width is less than the width of a single character. 2011-10-25 20:13:32 +02:00
Aric Stewart
3b5e14a9b0 user32: Use Uniscribe in the multiline edit control. 2011-10-24 11:15:00 +02:00
Aric Stewart
67196377b5 user32: Recalculate string length when cropping string to fit. 2011-10-19 16:39:26 +02:00
Aric Stewart
acaa0dc2da user32: Use Uniscribe in the single line edit control. 2011-10-18 16:07:55 +02:00
Aric Stewart
de8a059d52 user32: Use uniscribe ScriptBreak to handle edit control linebreaking. 2011-10-11 13:37:49 +02:00
André Hentschel
5ca020b9d8 user32: Remove dead initializations (clang). 2011-07-06 11:20:13 +02:00
Alexandre Julliard
9b693ddadb user32: Use WIN_GetRectangles where possible instead of mapping coordinates explicitly. 2010-09-07 15:11:24 +02:00
Vincent Povirk
a5fd32eb84 user32: Focus editboxes when the context menu is opened. 2010-04-25 07:38:10 -05:00
David Hedberg
5a1f8c57a8 user32: Fix case where EM_SCROLL with page down results in trying to scroll up past the beginning. 2010-03-03 14:01:58 +01:00
David Hedberg
598052b4ad user32: Fix return value of EDIT_EM_Scroll. 2010-03-03 14:01:50 +01:00
Kusanagi Kouichi
ccab177159 user32: Consolidate empty string. 2010-02-15 12:09:55 +01:00
Marcus Meissner
69bf18567f user32: EM_REPLACESEL - handle OOM error. 2010-01-06 17:23:08 +01:00
Detlef Riekenberg
2f529c39fd user32: Move a comment about HLOCAL16 to user.exe. 2010-01-05 18:08:19 +01:00
Michael Stefaniuc
6f3b494463 user32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Alexandre Julliard
8aa83d326a user32: Make user.exe into a stand-alone 16-bit module. 2009-12-24 12:15:12 +01:00
Alexandre Julliard
d081a7352c user32: Simplify window procedure allocation for the builtin classes. 2009-12-18 12:39:13 +01:00
Alexandre Julliard
6400dabf40 user32: Pre-allocate the window procedure for the edit class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard
6af1df86ce user32: Add 16-bit translation for parameters of the WM_H/VSCROLL edit messages. 2009-12-15 16:09:13 +01:00
Alexandre Julliard
57e5c8f67a user32: Turn the edit winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard
68656c0c3f user32: Split the handling of the 16-bit messages out of the edit winproc. 2009-12-13 12:12:21 +01:00
Alexandre Julliard
810e701a3f user32: Store the 16-bit edit handle directly in the window extra bytes. 2009-12-11 20:22:49 +01:00
Alexandre Julliard
7e9721f8f2 user32: Split the code that deals with the 16-bit edit buffer handle to separate functions. 2009-12-11 20:21:52 +01:00
Alexandre Julliard
dcec342b50 user32: Add a thunking mechanism for 16-bit edit word break procedures. 2009-12-11 20:20:54 +01:00
Nikolay Sivov
aa737174f0 user32/edit: Check for edit window to be here in case of destruction during handler execution. 2009-12-03 10:16:39 +01:00
Ilya Shpigor
da9c52371e user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing. 2009-11-16 17:06:21 +01:00
Julius Schwartzenberg
8e899e0076 user32: Change extra value for standard edit class to 6.
Civilization II crashes when trying to display an edit box when this
value is anything other than six. It crashes in exactly the same way
on Windows XP 64-bit.
2009-10-22 14:35:58 +02:00
Nikolay Sivov
e72ed1c421 user32/edit: Properly clean up on failure inside WM_NCCREATE handler. 2009-10-21 16:05:59 +02:00
Nikolay Sivov
a60966068b user32/edit: Don't leak undo buffer. 2009-10-21 16:05:58 +02:00
Nikolay Sivov
0209b02f47 user32/edit: Invalidate if style changed after EM_SETREADONLY. 2009-09-22 16:24:37 +02:00
Michael Stefaniuc
3a7a0eb9dd user32: Remove a stray ';' that produces an empty if condition. 2009-08-27 11:45:37 +02:00
Sergey Khodych
205a7f7f03 user32: edit: Improve handling of WM_KEYDOWN VK_RETURN in a dialog mode. 2009-08-26 16:38:03 +02:00
Sergey Khodych
d4707dbb60 user32: edit: Improve handling of WM_KEYDOWN VK_TAB in a dialog mode. 2009-08-26 16:37:12 +02:00
Sergey Khodych
3b6ea11481 user32: edit: Improve handling of WM_KEYDOWN VK_ESCAPE in a dialog mode. 2009-08-26 16:37:05 +02:00
Sergey Khodych
6fa48cdd91 user32: edit: Use a dialog mode after receiving WM_GETDLGCODE message.
Tests show that the edit control uses a dialog mode after receiving 
WM_GETDLGCODE message and it doesn't depend on whether the edit control 
has a parent window.
2009-08-26 16:36:50 +02:00
Nikolay Sivov
258d953a3f user32: Use 1 unit caret width for Edit control. 2009-03-05 12:48:08 +01:00
Francois Gouget
07b7da77d4 user32: Make EditWndProcW() static, fix its documentation. 2009-02-09 13:14:03 +01:00
Francois Gouget
9e7b55675d user32: Reorder some functions to avoid forward declarations in edit.c. 2009-02-09 13:13:55 +01:00
Francois Gouget
0e9695d9c8 user32: Remove unneeded forward declarations in edit.c. 2009-02-09 13:13:42 +01:00
Francois Gouget
31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Michael Stefaniuc
fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +01:00