Commit Graph

180 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov a62f06d027 Yet another attempt on fixing notifications in the edit control. 2001-03-13 23:31:08 +00:00
Dmitry Timoshkov 87880c5e23 Fixed notifications of the edit control. 2001-03-10 19:16:46 +00:00
Dmitry Timoshkov fbc3619ca0 Make EDIT_UnlockBuffer cope with destroyed windows. 2001-03-05 19:29:47 +00:00
Dmitry Timoshkov bf60453c6a Fix the behaviour of EM_GETLINE message. 2001-02-12 19:15:33 +00:00
Dmitry Timoshkov 40fddf7c1b Do not notify parent of the Edit control on WM_SETTEXT when Edit is
part of the ComboBox.
2001-01-26 20:37:18 +00:00
Dmitry Timoshkov 9c446a13cd Protect read-only edit control from modification. 2001-01-22 19:28:27 +00:00
Dmitry Timoshkov a234db82eb Solve remaining problems with scroll bars in the edit control. 2001-01-19 20:49:54 +00:00
Dmitry Timoshkov df793bcb68 Add one missing buffer size rounding in the edit control.
Make rounding code slightly more readable.
2001-01-15 20:20:31 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
James Hatheway f3ea345b2d Guard against incoming string of NULL in WM_SETTEXT. 2001-01-12 23:01:41 +00:00
Dmitry Timoshkov 785203ced8 Fix the return value of WM_GETTEXT in the edit control. 2001-01-11 20:17:21 +00:00
Dmitry Timoshkov f77709ea19 Synchronize the sizes of the external and internal buffers at start
and end of message processing in the edit control.
2001-01-10 23:55:02 +00:00
James Hatheway ba9b96457d es->buffer_size is not always the length of the text currently in the
editbox, so use -1 instead.
2001-01-10 22:54:33 +00:00
Dmitry Timoshkov 11dbda6bf9 Fixed some problems with scrolling in the edit control. 2001-01-05 03:40:35 +00:00
Dmitry Timoshkov 366c0a16a5 Fix remaining signed/unsigned mismatches. 2000-12-22 20:28:05 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Dmitry Timoshkov 8058ead8ea Don't write to buffer with zero length.
Removed some unused function parameters.
2000-12-21 20:19:21 +00:00
Dmitry Timoshkov f8b96e272a Make new edit control allocate its buffers with granularity 32 byte.
Ensure that all copied strings are 0 terminated.
2000-12-20 18:39:14 +00:00
Dmitry Timoshkov 4e62b9df8b New unicode edit control. 2000-12-19 19:36:49 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Dmitry Timoshkov 7a947b34b7 General clean up of the edit control: removed transfer of unused
variables, fixed signed/unsigned mismatches.
2000-11-27 01:34:25 +00:00