Commit Graph

938 Commits

Author SHA1 Message Date
Huw Davies 48b9ab37ac riched20: Pass the character ptr and string length directly to the break proc helper. 2013-02-05 10:51:26 +01:00
Huw Davies bf6bb4fc70 riched20: Actually pass the ANSI string to the break proc. 2013-02-05 10:51:15 +01:00
Huw Davies 86f077b163 riched20: Add an explicit run length member and use it rather than accessing the string length. 2013-01-31 16:32:12 +01:00
Huw Davies f24ba125f6 riched20: Use the get_text helper in a few more places. 2013-01-31 16:32:07 +01:00
Huw Davies 76cfe7dc50 riched20: Rewrite the run whitespace test to take a run parameter. 2013-01-31 16:32:01 +01:00
Huw Davies 29e54f07f7 riched20: Rewrite the run splittable test to take a run parameter. 2013-01-31 16:31:52 +01:00
Huw Davies 27578f8bb6 riched20: Add a helper to retrieve the run text. 2013-01-30 17:19:31 +01:00
Huw Davies c17af77b5c riched20: Add a helper to debug the run text. 2013-01-30 17:19:28 +01:00
Huw Davies 95938b7a10 riched20: Add a paragraph ptr to each run. 2013-01-30 17:19:22 +01:00
Huw Davies dee40e90ce riched20: Move undo handling to a different set of structs as the display item structs are not a good fit. 2013-01-29 17:50:17 +01:00
Huw Davies ca46d22bca riched20: Simplify adding the undo items when joining paragraphs. 2013-01-25 17:30:42 +01:00
Huw Davies 7a27ffb28c riched20: Avoid an unnecessary string duplication. 2013-01-22 19:13:07 +01:00
Huw Davies 368f9123c9 riched20: Flush the output buffer before a codepage change. 2012-12-05 20:23:51 +01:00
Michael Stefaniuc 87cdc7341d riched20/tests: Remove a superfluous function pointer cast. 2012-11-30 19:12:16 +01:00
André Hentschel 34f74fdc71 riched20: Remove duplicate operand in expression (coverity). 2012-11-05 11:11:53 +01:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Nikolay Sivov 28821a924c riched20/tests: Use proper method macros. 2012-08-24 11:32:59 +02:00
Marcus Meissner 3a2de10a9c riched20: Fixed pointer to value out of scope (Coverity). 2012-08-20 10:57:08 +02:00
Qian Hong cb8c500ee6 riched20: Added support for UTF8 BOM stream. 2012-08-17 13:58:11 +02:00
Qian Hong 7839d134e9 riched20/tests: Fixed typo in test_EM_STREAMIN. 2012-08-16 13:46:20 +02:00
Qian Hong 01ebba0fc4 riched20/tests: Added UTF8 BOM test. 2012-08-16 13:07:02 +02:00
Michael Stefaniuc c0cfc9a87a riched20: Avoid a TRUE:FALSE conditional expression. 2012-08-15 12:12:51 +02:00
Nikolay Sivov e3f0d40840 riched20: Use proper interface methods macros. 2012-08-13 11:48:23 +02:00
Dan Kegel a59e766ea7 riched20: Accept middle click as paste (like edit control does). 2012-06-19 11:09:49 +02:00
Michael Stefaniuc 8660d5e77f riched20/tests: Check the correct return value. 2012-05-25 13:45:01 +02:00
Dylan Smith 10d800b6b8 richedit: Invalidate a range of paragraphs without marking them. 2012-05-18 18:10:27 +02:00
Michael Stefaniuc 306b3510a9 riched20/tests: Remove duplicated ok() call. 2012-05-17 10:18:15 +02:00
Dylan Smith 2ebfd01b51 richedit: Remove some unused structure fields. 2012-05-14 12:04:24 +02:00
Dan Kegel 4996043374 riched20: Don't need to redraw when changing selection from none to none. 2012-05-10 08:30:58 +02:00
Dylan Smith 1f8cbe1645 richedit: Avoid scanning all text for paragraphs to invalidate. 2012-05-09 11:55:58 +02:00
Dylan Smith 18fa3287f6 richedit: Remove always FALSE parameter from ME_PaintContent. 2012-05-08 09:42:16 +02:00
Michael Stefaniuc 25ed3b9572 riched20/tests: Don't cast NULL to an integer. 2012-04-16 12:07:11 +02:00
Michael Stefaniuc 39f416cd9d riched20/tests: Add COM aggregation tests for CreateTextServices(). 2012-03-28 11:39:12 +02:00
Michael Stefaniuc 67389533bc riched20/tests: Get the CreateTextServices() pointer only once. 2012-03-28 11:39:04 +02:00
Michael Stefaniuc 74c5d202a1 riched20: Support COM aggregation in CreateTextServices(). 2012-03-28 11:38:59 +02:00
Michael Stefaniuc 6f299c5d76 riched20: Avoid a forward declaration of a vtbl. 2012-03-28 11:38:44 +02:00
Michael Stefaniuc 51998b929a riched20: Drop the WINE_ prefix from a FIXME. 2012-03-12 10:11:16 +01:00
Dmitry Timoshkov e2264859c8 riched20: Fix some GDI object leaks. 2012-01-30 11:54:47 +01:00
Jason Edmeades efbde389c7 richedit: v1.0 richedit uses CR and LF for enter. 2012-01-23 16:07:41 +01:00
Francois Gouget 8dd66bc927 riched20: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:38 +01:00
Thomas Faber 5e0050d001 riched20: Do not return incorrect values from ME_CharFromPoint[Cursor]. 2011-10-24 20:27:30 +02:00
Thomas Faber 3ac36cb50f riched20/tests: Test format rect adaption to window size and behavior with zero-sized windows. 2011-10-24 19:54:08 +02:00
Thomas Faber 791d000f96 riched20: Simplify ME_PrepareParagraphForWrapping. 2011-10-24 19:54:02 +02:00
Thomas Faber f3a3ce8a51 riched20: Avoid a forward declaration. 2011-10-24 19:37:08 +02:00
Thomas Faber 28cb0b683e riched20: Constify some ME_Context pointer parameters. 2011-10-24 19:37:08 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Dylan Smith 9d2da7fa66 riched20/tests: Remove unnecessary SetFocus calls. 2011-09-26 12:19:43 +02:00
Dylan Smith fdb2bc4be9 riched20/tests: Avoid using flaky method of simulating typing. 2011-09-26 12:19:40 +02:00
Dylan Smith f61d417a34 richedit: Return number of chars inserted for EM_STREAMIN with SF_RTF. 2011-09-26 12:16:59 +02:00
Dylan Smith e060272de7 richedit: Return number of bytes read for EM_STREAMIN with SF_TEXT. 2011-09-26 12:16:56 +02:00