Commit Graph

364 Commits

Author SHA1 Message Date
Jactry Zeng bb5974987e riched20/tests: Add tests for WM_GETTEXTLENGTH.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:13 +01:00
Jactry Zeng 30049ba798 riched20/tests: Test EM_GETSELTEXT with multibyte character.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:13 +01:00
Jactry Zeng fb304e0e4e riched20/tests: Test EM_GETTEXTRANGE with multibyte character.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:13 +01:00
Jactry Zeng de0add976d riched20/tests: Add multibyte character tests for selection.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +01:00
Jactry Zeng 99f0f6b91b riched20/tests: Test EM_LINELENGTH with multibyte character.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Jactry Zeng d5c587b1c2 riched20/tests: Add return tests for EM_SETTEXTEX.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 21:29:34 +09:00
Jactry Zeng f52ae04585 riched20/tests: Test EM_SETTEXT and EM_REPLACESEL with multibyte character.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 21:29:34 +09:00
Jactry Zeng 7365f557b6 riched20/tests: Test EM_REPLACESEL with rtf stream.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:51 +09:00
Jactry Zeng 6401ab45c0 riched20: Implement alignment styles support.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:07 +09:00
Jactry Zeng dc6b2853f5 riched20: Set pStream->written in ME_StreamOutFlush.
Superseded patch 115907.

ChangeLog:
- Add tests.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 19:22:43 +09:00
Jactry Zeng d62dd46516 riched20: Implement EM_SETFONTSIZE. 2015-08-27 21:43:46 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Alex Henrie af19e64017 riched20: Fix link notification conditions and add tests. 2015-06-18 17:11:05 +09:00
Nikolay Sivov bb82d669d1 riched20/tests: Remove explicit todo flag values from static test data. 2015-06-17 15:44:38 +09:00
Nikolay Sivov fd4affc0cb riched20/tests: Some more EM_SETSEL tests. 2015-06-17 15:44:36 +09:00
Nikolay Sivov 3357fdd70a riched20: Implement Expand for tomStory case. 2015-06-17 15:44:34 +09:00
Huw Davies 17f273360a riched20: Append a final \par when writing the whole buffer. 2015-06-09 14:47:30 +09:00
Nikolay Sivov 5f933018a2 riched20: Implement GetDuplicate() for selection. 2015-06-08 15:47:52 +09:00
Nikolay Sivov 9c6bcec509 riched20: Implement GetStoryLength(). 2015-06-08 15:47:48 +09:00
Nikolay Sivov 17a50f39b2 riched20/tests: Fix a BSTR leak (Valgrind). 2015-06-04 15:55:49 +09:00
Nikolay Sivov 2a2446abdb riched20: Return 0x0 size for NULL objects. 2015-06-03 19:29:49 +09:00
Nikolay Sivov a50e0d71a4 riched20/tests: Don't use global vars for host/textservices. 2015-06-02 20:53:43 +09:00
Nikolay Sivov 41687841bc riched20: Properly implement GetClientSite(). 2015-06-01 14:52:28 +09:00
Nikolay Sivov 383dbeedd7 riched20/tests: Small test for GetClientSite(). 2015-06-01 14:52:22 +09:00
Nikolay Sivov b2e13bc6e7 riched20: Implement GetText() for regular range. 2015-06-01 14:52:17 +09:00
Nikolay Sivov dd8287e9e8 riched20/tests: Test more return values and released cases. 2015-05-29 15:00:44 +09:00
Nikolay Sivov 054eecb2bf riched20: Implement SetFont(). 2015-05-29 15:00:38 +09:00
Nikolay Sivov d178e7ba68 riched20: Added GetStoryType(). 2015-05-29 15:00:32 +09:00
Nikolay Sivov b4959154ca riched20: Switch font unit is not allowed. 2015-05-29 15:00:27 +09:00
Nikolay Sivov eecb757248 riched20: Convert from twips to points when tomUsePoints is used. 2015-05-29 15:00:22 +09:00
Nikolay Sivov 6a335ca5da riched20: A bit more tests for GetChar(), improve tracing. 2015-05-28 14:21:07 +09:00
Nikolay Sivov cb095a82a2 riched20: Implement Select(). 2015-05-28 14:21:06 +09:00
Nikolay Sivov 6ccfde327a riched20: Implement IsEqual() for ranges. 2015-05-28 14:21:04 +09:00
Nikolay Sivov cebee9bd71 riched20: Implement InRange(). 2015-05-28 14:21:02 +09:00
Nikolay Sivov c1ce95dc96 riched20: Implement GetPara() for selection range. 2015-05-28 14:21:00 +09:00
Nikolay Sivov d27234617c riched20: Implement SetText for regular range. 2015-05-27 14:31:40 +09:00
Nikolay Sivov 64faf03cf3 riched20: Initial support for changing font properties. 2015-05-26 18:45:35 +09:00
Nikolay Sivov 1c0cf0efb3 riched20: Implement tomTrackParms/tomCacheParms. 2015-05-26 18:45:34 +09:00
Nikolay Sivov 0cf3c2f3a1 riched20: Support ITextFont instances detached from a range. 2015-05-26 18:45:34 +09:00
Nikolay Sivov c5a029f82e riched20/tests: Initial tests for font duplication behavior. 2015-05-25 21:43:18 +09:00
Nikolay Sivov 95074af8a8 riched20/tests: Basic test for Delete(). 2015-05-25 21:43:18 +09:00
Nikolay Sivov b43a0e1175 riched20/tests: Some tests for GetText(). 2015-05-25 21:43:18 +09:00
Nikolay Sivov f4438f1ee5 riched20: Implement Start/End properties for ranges. 2015-05-25 21:43:17 +09:00
Nikolay Sivov 81fc69d7e6 riched20: Added IDispatch support. 2015-05-25 21:43:17 +09:00
Huw Davies 008ceb662d riched20/tests: Fix test on 64-bit. 2015-05-22 18:04:25 +09:00
Nikolay Sivov fd806a65a5 riched20/tests: Added tests for ITextFont getters on detached font. 2015-05-21 19:04:00 +09:00
Nikolay Sivov 6fcb092f0f riched20/tests: Test against proper LCID. 2015-05-21 19:03:50 +09:00
Nikolay Sivov e6e16eb632 riched20: Implement GetName() for ITextFont. 2015-05-21 19:03:46 +09:00
Nikolay Sivov fa8c384b3b riched20: Implement GetFont() for selection range. 2015-05-20 18:35:44 +09:00