Commit Graph

210 Commits

Author SHA1 Message Date
Krishna Murthy 4af4ba4c7a EDIT_EM_ReplaceSel should simply truncate characters that exceed the
limit.
2004-05-29 00:21:51 +00:00
Ulrich Czekalla a935c2afd2 Fix update region calculation for the case where a word wraps up to
the previous line.
2004-05-25 18:04:48 +00:00
Krishna Murthy a7c3107148 EM_UNDO should always return TRUE for single line edit. 2004-05-07 00:40:18 +00:00
Dimitrie O. Paun abe9c975a8 Remove the rest of the Tweak look hack. 2004-04-01 21:06:14 +00:00
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Lionel Ulmer 28d9aafc81 Add some TRACEing to the edit control. 2004-03-29 22:54:05 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Yoshiro Takeno c91d9f0c90 In Windows, the leading byte for multibyte characters are set to upper
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
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