Commit graph

267 commits

Author SHA1 Message Date
Clinton Stimpson
4152c14df4 riched20: Fix text replacement with text limit. 2007-03-29 21:07:52 +02:00
Dmitry Timoshkov
592b53d0a4 riched20: Split unicode and ansi window procs, handle messages depending on the unicode flag.
Add a hack for WM_GETTEXT in RichEdit20W class when running in win9x emulation mode.
2007-03-22 15:47:25 +01:00
Dmitry Timoshkov
11e01b17de riched20: Add a test that shows that under Win9x RichEdit20W windows are not unicode, but always expect to see unicode input. 2007-03-21 15:55:30 +01:00
Jan Zerebecki
58f37a1251 riched20: Add DebugInfo to critical sections. 2007-03-12 13:39:14 +01:00
Jason Green
2aa8463a94 riched20: If outside of the richedit window, return earlier.
Prevents a crash when selecting text outside of a richedit control box.
2007-02-15 11:21:45 +01:00
Marcus Meissner
ddb5720118 riched20: Removed more dead code. 2007-02-09 11:48:46 +01:00
Marcus Meissner
886b15e723 riched20: Fixed wrong condition (Coverity). 2007-02-06 14:59:26 +01:00
Matt Finnicum
7eabbec632 riched20: Create undos in StreamIn at the right times. Adds tests for when StreamIn should be undoable. 2007-01-25 11:06:36 +01:00
Matt Finnicum
306013d4e5 riched20: Remove excessive traces from reader.c. 2007-01-25 11:06:28 +01:00
Andrew Talbot
166b3a6cdb riched20: Declare some functions static. 2007-01-24 12:31:29 +01:00
Matt Finnicum
f12e6232a2 riched20: Use CharFromPos instead of FindPixelPos in LinkNotify so it accounts for scrolling. 2007-01-24 12:14:11 +01:00
Matt Finnicum
dbcf2e391c riched20: Implement EM_LIMITTEXT and some simple tests. 2007-01-24 12:14:02 +01:00
Joel Parker
2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Clinton Stimpson
a065d0f68d riched20: Fix crash undoing a paste. 2007-01-12 11:25:42 +01:00
Clinton Stimpson
bf86302e19 riched20: Fix modification state for several operations. 2007-01-11 12:04:46 +01:00
Lei Zhang
581321d420 riched20: Move EM_EXSETSEL fix into ME_SetSelection. 2006-12-05 11:37:46 +01:00
Lei Zhang
c05bcabe9f riched20: Fixes and additional conformance tests for EM_EXSETSEL. 2006-12-04 12:23:32 +01:00
Dmitry Timoshkov
a5992939d4 riched20: Make some data const. 2006-11-29 12:44:34 +01:00
Matt Finnicum
e864f2f2c3 riched20: Make EM_SETPARAFORMAT use ME_RewrapRepaint instead of ME_UpdateRepaint. 2006-11-28 12:14:43 +01:00
Matt Finnicum
d7aa81bdfb riched20: Make EM_SETCHARFORMAT call ME_RewrapRepaint instead of ME_UpdateRepaint. 2006-11-28 12:14:36 +01:00
Matt Finnicum
26ba1559b0 riched20: Make WM_SETFONT call RewrapRepaint instead of UpdateRepaint. 2006-11-28 12:14:28 +01:00
Matt Finnicum
3e27436003 riched20: EM_EXLIMITTEXT: ignore wParam and properly cast lParam. 2006-11-28 12:14:21 +01:00
Matt Finnicum
807546ee59 riched20: Make ME_StreamIn create undos properly. 2006-11-28 12:14:11 +01:00
Clinton Stimpson
78584b6ee1 riched20: Only send EN_CHANGE when it is supposed to be sent. 2006-11-27 13:46:02 +01:00
Mike McCormack
5b670b68f2 riched20: Simplify an array size calculation. 2006-11-21 12:16:10 +01:00
Clinton Stimpson
4b292b0cb5 riched20: Fix key handling in dialogs. 2006-11-15 12:24:54 +01:00
Mike McCormack
c6118c34b2 riched20: Flush the clipboard before exiting the test. 2006-11-10 11:36:36 +01:00
Mike McCormack
c6e25b54c9 riched20: Add missing void to parameter list. 2006-11-10 11:36:16 +01:00
Mike McCormack
6ea5a664dd riched20: Remember to close windows after tests. 2006-11-10 11:36:08 +01:00
Mike McCormack
bb1f8edcc2 riched20: Fix a memory leak. 2006-11-10 11:35:59 +01:00
Mike McCormack
0f6c58c113 riched20: Set the correct number of initialized cursors. 2006-11-10 11:35:53 +01:00
Mike McCormack
32f044c4cf riched20: Fix an uninitialized variable. 2006-11-10 11:35:48 +01:00
Mike McCormack
1e85e7c7c2 riched20: Fix a leak in the undo stack. 2006-11-06 12:23:50 +01:00
Mike McCormack
b7501a3b0c riched20: Fix one more memory leak. 2006-11-06 12:23:46 +01:00
Mike McCormack
d89c46748f riched20: Don't access memory after freeing it. 2006-11-06 12:23:42 +01:00
Mike McCormack
01e8eaefdc riched20: Fixed memory leaks. 2006-11-06 12:23:33 +01:00
Mike McCormack
b5c031b160 riched20: Initialize and free the RTF lookup table in DllMain to avoid memory leaks. 2006-11-02 12:24:55 +01:00
Mike McCormack
14ec1d0c4c riched20: Use WARN() not ERR() on unknown tokens. 2006-11-02 12:24:33 +01:00
Mike McCormack
8939587b19 riched20: Create macro functions for allocating and freeing memory. 2006-10-24 11:44:53 +02:00
Mike McCormack
e971e0fb89 riched20: Make sure to use GlobalAlloc with GlobalFree. 2006-10-24 11:44:36 +02:00
Hans Leidekker
177350d087 riched20: Win64 printf format warning fixes. 2006-10-14 20:16:56 +02:00
Mike McCormack
9eda99c0bb riched20: Don't crash if a colour isn't found. 2006-10-09 20:38:11 +02:00
Michael Stefaniuc
86bb053cf8 riched20/tests: Win64 printf format warning fixes. 2006-10-09 12:55:20 +02:00
Francois Gouget
9197f5c3df riched20: Tweak a buffer declaration to fix the compilation with Visual C++. 2006-10-02 11:54:46 +02:00
Michael Stefaniuc
85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Andrew Talbot
b038fa18ee riched20: Cast-qual warning fix. 2006-09-26 11:40:06 +02:00
Alexandre Julliard
32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Matt Finnicum
abecd9e393 riched20: Rewrite of scrolling and some redrawing code.
Replaces duplicated scrolling code with re-usable functions.
Removes excessive boundary checking on scroll code, since that's done
in the scrollbar control anyways.
Properly separates repaint calls based on what has changed.
Send EN_UPDATE and EN_CHANGE at the right places.
Only call EnsureVisible on changes, not all repaints.
2006-09-11 11:29:42 +02:00
Hippocrates Sendoukas
0ad5638bf1 riched20: WM_CONTEXTMENU fix for custom context menus. 2006-09-07 16:06:56 +02:00
Hippocrates Sendoukas
0134e8f7d0 riched20: ME_SetSelection -1 to -1 behavior fix. 2006-09-07 16:06:14 +02:00