Commit Graph

992 Commits

Author SHA1 Message Date
Piotr Caban
d31048f0ae riched20: Fix loop condition while processing control content in WM_CREATE. 2013-10-08 15:39:01 +02:00
Frédéric Delanoy
c388cce8aa riched20/tests: Use BOOL type where appropriate. 2013-10-08 09:09:28 +02:00
Frédéric Delanoy
f03d251ef2 riched20: Use BOOL type where appropriate. 2013-10-08 09:09:22 +02:00
Piotr Caban
e660bf676c riched20: Set control content in WM_CREATE message. 2013-10-07 19:52:44 +02:00
Michael Stefaniuc
0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc
9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Andrew Eikum
360afb93b5 riched20: Continue interpreting data as UTF-8 after the first chunk boundary. 2013-10-02 11:01:33 +02:00
Jactry Zeng
5520dcab8a riched20/tests: Add UTF8 BOM tests for EM_SETTEXTEX. 2013-09-27 10:43:00 +02:00
Jactry Zeng
1cbdb2aff7 riched20: Add a length return parameter to ME_ToUnicode. 2013-09-10 12:27:37 +02:00
Jactry Zeng
a8d87afe1c riched20/tests: Add tests of ITextDocument_Open. 2013-09-05 13:25:34 +02:00
Vincent Povirk
d04d1c1736 riched20: Use \ulnone instead of \ul0 for no underline. 2013-08-20 11:50:14 +02:00
Nikolay Sivov
ed673ff947 riched20: Use helpers from header instead of internal functions. 2013-06-12 12:09:13 +02:00
Alexandre Julliard
85f8828560 riched20: Don't bother to unregister classes at process exit. 2013-05-14 11:33:19 +02:00
Sergey Guralnik
8849885f73 riched20: Fix richtext copy/paste to OOffice. 2013-05-01 11:16:27 +02:00
Huw Davies
674e2cfd24 riched20: Fix an (incorrect) compiler warning. 2013-04-17 14:26:18 +02:00
Huw Davies
eb773e0dea riched20: Use PointFromCharContext now that we can specify logical ordering. 2013-04-17 14:26:14 +02:00
Huw Davies
5ddfc36cc0 riched20: Add a visual vs logical order flag to the character to position mapping routines. 2013-04-17 14:26:09 +02:00
Francois Gouget
8e304065c1 riched20: ME_StrDup() is not used anymore so remove it. 2013-04-03 17:54:35 +02:00
Huw Davies
a20d42de15 riched20: Always write out the color table. 2013-03-25 14:09:41 +01:00
Huw Davies
c409fc13fd riched20: Set the bidi base embedding level. 2013-03-25 14:09:38 +01:00
Huw Davies
503c6caba6 riched20: We don't need to special case the PARAFORMAT2 fields since the masks have already been correctly sanitised. This fixes setting PFE_RTLPARA. 2013-03-25 14:09:31 +01:00
Andrew Eikum
3f02c24163 riched20: EM_FINDTEXT implementation should match richedit character type. 2013-03-25 14:07:19 +01:00
Huw Davies
7a59014fa2 riched20: Send WM_CHAR notifications. 2013-02-28 21:02:06 +01:00
Huw Davies
5e53012736 riched20: Don't assume the the runs in a row are in visual order. 2013-02-26 18:18:16 +01:00
Huw Davies
c5c4d54905 riched20: Allow the cursor offset to be equal to the run length - this implies the cursor is at the end of the run, which isn't necessarily the start of the next. 2013-02-26 18:18:12 +01:00
Huw Davies
e68e6ff740 riched20: Correctly set the row's x position. 2013-02-26 18:18:06 +01:00
Huw Davies
a6369b8332 riched20: Rewrite ME_FindPixelPos to use ME_GetRunInRow. 2013-02-25 17:11:58 +01:00
Huw Davies
87163410e5 riched20: Only retrieve the next row. 2013-02-25 17:11:56 +01:00
Huw Davies
41dd421222 riched20: Return a BOOL that indicates whether the hit is exact. 2013-02-25 17:11:53 +01:00
Huw Davies
0730db2b99 riched20: Change ME_FindRunInRow to fill out a cursor structure. 2013-02-25 17:11:51 +01:00
Austin English
d50baaa1df riched20: Make sure to load dll below 2GB address space. 2013-02-19 10:39:31 +01:00
Huw Davies
acaad0a842 riched20: Add the ability to CharFromPoint to either pick the closest leading edge or the leading edge of the selected character. 2013-02-18 16:34:10 +01:00
Huw Davies
1c0aaf7dd2 riched20: Use ME_PointFromChar to calculate the caret position. 2013-02-15 17:52:13 +01:00
Huw Davies
635614b5ea riched20: Move the password string hack to just before it's used. 2013-02-15 17:52:11 +01:00
Huw Davies
a4378f44aa riched20: Move the range clamping to the helper now that the range isn't used later on. 2013-02-15 17:52:08 +01:00
Huw Davies
79278497d3 riched20: Move underline drawing to a common function. 2013-02-15 17:52:02 +01:00
Huw Davies
ab6bb56988 riched20: Simplify selection painting by drawing a selected run twice with appropriate clipping. 2013-02-14 17:35:24 +01:00
Huw Davies
d528e76076 riched20: Use the point from char helpers to calculate the selection rectangle. 2013-02-14 17:35:20 +01:00
Huw Davies
2a6f99efcc riched20: The string len parameter is no longer necessary. 2013-02-14 17:35:06 +01:00
Huw Davies
42b0c6ea33 riched20: Make it possible to perform point -> char conversion while holding a context. 2013-02-14 17:35:03 +01:00
Huw Davies
530c546a3f riched20: Remove the special case tab handling now that we handle that in draw_space. 2013-02-14 17:35:00 +01:00
Huw Davies
4cbe94f42a riched20: Move the white space painting operations to a common function. 2013-02-14 17:34:57 +01:00
Huw Davies
4178de89ef riched20: Move text color determination to a helper function. 2013-02-14 17:34:48 +01:00
Huw Davies
681a9e1de6 riched20: Move y offset calculation to a helper function. 2013-02-14 17:34:41 +01:00
Huw Davies
c2c5121d19 riched20: Move underline pen creation to a helper function. 2013-02-14 17:34:31 +01:00
Huw Davies
82c8e567fb riched20: Pass the run to the text drawing routine. 2013-02-14 17:34:23 +01:00
Huw Davies
941775e311 riched20: The run width is always passed so we don't need to calculate it again. 2013-02-14 17:34:13 +01:00
Huw Davies
c07212b3d0 riched20: Move run extent calculation to wrap.c. 2013-02-12 19:56:41 +01:00
Huw Davies
9e8a9f4f65 riched20: Move the split point calculation to wrap.c. 2013-02-08 19:31:09 +01:00
Huw Davies
68d72f4792 riched20: Move SplitRun to wrap.c and make it static. 2013-02-07 15:51:11 +01:00