Commit Graph

202 Commits

Author SHA1 Message Date
Alexandre Julliard b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Huw Davies 4c7b65db8c We need to invalidate the replaced text region before calling
EM_ScrollCaret as this may call ScrollWindow.  Previously newly added
lines were not displayed if the edit needed to scroll.
2003-11-11 00:26:53 +00:00
Huw Davies 137f41d126 WM_LBUTTONDOWN calls SetFocus under Windows. Remove the SetFocus in
WM_MOUSEACTIVATE.
2003-11-03 22:15:59 +00:00
Rein Klazes 0de8b21890 A WM_CREATE message sent to an Edit window procedure should
return 1. Power Builder masked edit controls depend on it.
2003-10-21 23:49:03 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Rein Klazes a762b4ce2f Revert the WM_GETDLGCODE handling patch completely this time. It
breaks too much.
2003-05-19 21:40:31 +00:00
Rein Klazes eb359e26ca Revert the previous patch for capturing keys in an edit-listbox combo. 2003-05-15 04:14:53 +00:00
Vitaliy Margolen 11c534f6cf Fix problem with capturing [return] keys in multi-line edits. 2003-05-13 03:37:24 +00:00
Aric Stewart 199449d60e Added handling of WM_IME_CHAR. 2003-05-12 03:24:10 +00:00
Christian Costa 6e7d78eec9 Add missing ReleaseDC in EDIT_BuildLineDefs_ML. 2003-05-11 03:27:23 +00:00
Achim Kaiser 6d3ce418be Take font metrics into account for EC_USEFONTINFO margins. 2003-05-06 18:23:17 +00:00
Brad Campbell 4ba690e620 EM_REPLACESTR was not respecting buffer_limit. 2003-04-27 00:32:22 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard 6356a44160 Authors: Sander van Leeuwen <sandervl@xs4all.nl>, Dietrich Teickner <Dietrich_Teickner@t-online.de>
- Fixed incorrect undo buffer size (previous code caused heap
  corruption when using backspace many times).
- Always kill timer when left mouse button is released and in captured
  state.
2003-02-19 22:04:03 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Carl Sopchak 23b88efeeb Ignore buffer limit on WM_SETTEXT. 2002-11-21 03:57:05 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Dimitrie O. Paun a4273ca385 - Stop passing hwnd around when we're passing EDITSTATE.
- Merge the non-obsolete bits of EDIT.TODO into edit.c.
- Some cleanups, and simplifications.
2002-09-25 03:24:53 +00:00
Dmitry Timoshkov 472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Zoltan Nagy 5b809fd6d7 Move caret when selecting a text area with the mouse. 2002-08-27 18:15:26 +00:00
Aric Stewart 2e0d8cfc76 Don't set EN_CHANGE at creation time. 2002-08-20 00:24:17 +00:00
Alexandre Julliard d376e64c35 Erase background when invalidating the selected text. 2002-08-16 23:21:51 +00:00
Aric Stewart 08e693965d Support large edit buffers for richedit control. 2002-08-16 01:41:32 +00:00
Alexandre Julliard 331bf3d77c Avoid trouble in WM_GETTEXT if specified length is larger than the
buffer (found by Carl Sopchak).
2002-08-15 23:28:45 +00:00
Alexandre Julliard 741325b86a Make sure edit and listbox controls are of same ASCII/Unicode style as
the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling.
2002-06-13 19:20:43 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Chuck Crayne ce2024ce42 - Recognize "\n" as an alternative soft line break in function
EDIT_BuildLineDefs_ML of edit.c.
- Major restructuring of richedit.c to provide bug fixes, enhanced
  function, and improved debug support.
2002-04-22 23:08:19 +00:00
Rizsanyi Zsolt 83d6efb761 Sending EN_UPDATE notification in the EDIT_WM_SetText - the comment
already says, that the message is sent, but it is not...
2002-04-11 17:30:22 +00:00
Dmitry Timoshkov 51cf0e34cf Added CS_PARENTDC style. 2002-04-08 23:46:32 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Andreas Mohr 07216db627 EDIT_EM_LineLength called from within EDIT_EM_LineLength needs
starting line char index, not line index (== line number).
2001-11-13 21:29:38 +00:00
Dmitry Timoshkov b85a6e8c0a Defer edit style correction until EDITSTATE is fully initialized. 2001-10-08 20:33:08 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Jukka Heinonen 186a79cb92 WNDPROC handlers now check whether HWND argument is valid. 2001-07-24 01:16:16 +00:00
Bill Medland 137420a0f0 Correct the location of the style patching for the edit control. 2001-07-11 17:26:33 +00:00
Bill Medland 86bfa4cbd1 Improved handling of styles in the edit control, including detecting
changes of style and correcting handling of inconsistant styles.
2001-06-28 18:01:00 +00:00
James Juran 75c525c16f Make sure we set dwOSVersionInfoSize before calling GetVersionInfo(). 2001-05-18 20:56:37 +00:00
Ulrich Czekalla 2d382c6ca6 Fixed a paint problem reported by Mike McCormack. 2001-05-09 17:12:30 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Dan Engel 7c7a3571d4 Set the backgound mode to opaque to paint highlighted text. 2001-04-16 19:32:05 +00:00
Alexandre Julliard c9e11394a0 Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
Removed mapping of 16-bit edit messages in the generic routines.
2001-04-10 21:46:27 +00:00
Rein Klazes 9d4ae0eff9 Do not send the EN_CHANGE notification message until the selection
start and end values are filled in.
2001-04-02 19:13:24 +00:00
Ulrich Czekalla f11ff2a448 Update format engine to reduce flicker. 2001-03-31 00:51:10 +00:00