Michael Stefaniuc
|
5ce384e191
|
riched20/tests: Simplify the check for an empty string (PVS-Studio).
|
2014-11-11 14:22:12 +09:00 |
Michael Stefaniuc
|
7f295effbd
|
riched20: SUCCEEDED() is already a BOOL (PVS-Studio).
|
2014-10-31 10:49:34 +09:00 |
Jactry Zeng
|
a9491ec5d9
|
riched20: Add IID_IRichEditOle and IID_ITextDocument support for ITextServices::QueryInterface.
|
2014-10-30 12:02:52 +09:00 |
Jactry Zeng
|
234310e752
|
riched20: Add COM aggregation support for IRichEditOle.
|
2014-10-30 12:02:17 +09:00 |
Jactry Zeng
|
ffb706ceb0
|
riched20: Fix a leak.
|
2014-10-30 12:00:57 +09:00 |
Jactry Zeng
|
a3b8065600
|
riched20: Set editor->reOle to NULL when IRichEditOle is released.
|
2014-09-30 19:34:10 +02:00 |
Jactry Zeng
|
40456439e6
|
riched20: Implement ITextSelection::Collapse.
|
2014-09-17 11:46:17 +02:00 |
Jactry Zeng
|
07154f7fee
|
riched20: Implement ITextRange::Collapse.
|
2014-09-17 11:46:02 +02:00 |
Jactry Zeng
|
da40589e71
|
riched20: Implement ITextRange::GetDuplicate.
|
2014-09-17 11:45:58 +02:00 |
Jactry Zeng
|
52fee14932
|
riched20: Implement ITextSelection::GetStart and ITextSelection::GetEnd.
|
2014-09-16 19:25:34 +02:00 |
Jactry Zeng
|
b56c96a619
|
riched20: Implement ITextRange::GetStart and ITextRange::GetEnd.
|
2014-09-16 19:25:16 +02:00 |
Jactry Zeng
|
329252f88b
|
riched20: Implement ITextSelection::GetChar.
|
2014-09-15 18:25:31 +02:00 |
Jactry Zeng
|
0aa433438d
|
riched20: Implement ITextRange::GetChar.
|
2014-09-15 18:25:28 +02:00 |
Jactry Zeng
|
7d06f6ccb2
|
riched20: Avoid invalid memory access.
|
2014-09-15 10:13:05 +02:00 |
Jactry Zeng
|
b10b39185d
|
riched20: Stub for ITextRange interface and implement ITextDocument::Range.
|
2014-09-12 17:02:50 +02:00 |
Qian Hong
|
3881adf244
|
riched20: Handle QI failure in ME_GetOLEObjectSize.
|
2014-09-01 20:26:35 +02:00 |
Jactry Zeng
|
063b3bc9db
|
riched20: Pass count of character into ME_WordBreakProc() instead of count of byte.
|
2014-08-21 12:23:33 +02:00 |
Alexandre Julliard
|
35dd553038
|
riched20/tests: Fix test on 64-bit.
|
2014-07-22 20:45:46 +02:00 |
Jactry Zeng
|
1f6073c861
|
riched20: Implement ITextSelection::GetText.
|
2014-07-21 18:45:38 +02:00 |
Jactry Zeng
|
68b9018d50
|
riched20: Fix ME_SetSelection when cpMax > strlen().
|
2014-07-21 18:45:34 +02:00 |
Jactry Zeng
|
455eca6d22
|
riched20: Return nonzero value instead of zero when EM_SETREADONLY succeeds.
|
2014-07-04 19:30:25 +02:00 |
Jactry Zeng
|
10e6a665fd
|
riched20: Initialize ed->reOle in ME_MakeEditor().
|
2014-07-03 18:17:59 +02:00 |
Jactry Zeng
|
6ea4da4038
|
riched20: Don't create too many IRichEditOle interface for a RichEdit.
|
2014-07-01 12:53:47 +02:00 |
Alex Henrie
|
6b947701a7
|
riched20: Consider adjacent runs when computing EN_LINK range.
|
2014-06-17 10:36:53 +02:00 |
Huw Davies
|
b89c7c8fc2
|
riched20: Don't skip the final carriage return in SFF_SELECTION mode.
|
2014-06-11 13:06:23 +02:00 |
Andrew Eikum
|
704d1695f3
|
riched20/tests: Allow conversions to non-English codepages.
|
2014-05-20 21:27:00 +02:00 |
Frédéric Delanoy
|
2e5cb7aac8
|
Assorted spelling/grammar fixes.
|
2014-04-30 18:34:20 +02:00 |
Nikolay Sivov
|
601738dfb5
|
riched20: GetClientSite() is implemented for IRichEditOle so uncomment related code (Coverity).
|
2014-04-15 21:03:54 +02:00 |
Huw Davies
|
fa50baf31f
|
riched20: Keep track of fractions of WHEEL_DELTA when scrolling.
|
2014-03-31 15:29:02 +02:00 |
Huw Davies
|
2f07df59f9
|
riched20: Add a helper to return the default line height and use that in EM_LINESCROLL.
|
2014-03-31 15:29:00 +02:00 |
Hans Leidekker
|
db094db851
|
riched20: Don't return DLGC_HASSETSEL from WM_GETDLGCODE if the control style includes ES_SAVESEL.
|
2014-03-28 17:57:19 +01:00 |
Jactry Zeng
|
2a55f8d663
|
riched20: Fix a typo in CreateIRichEditOle.
|
2014-03-27 16:59:31 +01:00 |
Jactry Zeng
|
c5bd5236b9
|
riched20: Return E_INVALIDARG for empty ppSel in ITextDocument::GetSelection.
|
2014-03-26 19:20:25 +01:00 |
Frédéric Delanoy
|
5f88ba5b61
|
riched20: Use BOOL type where appropriate.
|
2014-03-19 11:33:22 +01:00 |
Jactry Zeng
|
fa2c509243
|
riched20/tests: Fix a SysAllocString leak.
|
2014-03-13 20:22:14 +01:00 |
Jactry Zeng
|
0f23b967a4
|
include: Fix a typo in ITextServices method named TxGetCurTarget.
|
2014-03-12 19:06:31 +01:00 |
Jactry Zeng
|
1841426616
|
riched20/tests: Add tests to check the content open by ITextDocument_fnOpen.
|
2014-02-12 19:15:17 +01:00 |
Austin English
|
0776a76eef
|
riched20: Remove duplicate declaration.
|
2014-02-11 19:19:13 +01:00 |
Frédéric Delanoy
|
0f2bed51bd
|
Assorted spelling fixes.
|
2014-02-10 15:47:29 +01:00 |
Frédéric Delanoy
|
e877ec4c5a
|
riched20/tests: Use common wine_dbgstr_guid implementation from test.h.
|
2014-01-30 12:42:55 +01:00 |
Jactry Zeng
|
88214a5874
|
riched20: Add UTF8 support for EM_SETTEXTEX.
|
2014-01-27 16:59:15 +01:00 |
Jactry Zeng
|
eb8f47518e
|
riched20: Use codepage in ME_ToUnicode.
|
2014-01-27 16:59:08 +01:00 |
Huw Davies
|
7a0a4ce7ab
|
riched20: Add uniscribe support.
|
2014-01-15 15:20:52 +01:00 |
Francois Gouget
|
25e0f11ced
|
riched20: Make ME_GetDITypeName() static.
|
2014-01-13 17:37:27 +01:00 |
Huw Davies
|
a53179dadd
|
riched20: Ensure the cursors are equal after deleting the selection.
|
2014-01-07 15:21:33 +01:00 |
Huw Davies
|
c59c582c9a
|
riched20: Correctly handle the cursor at the end of run case while splitting paragraphs.
|
2014-01-07 15:21:30 +01:00 |
Huw Davies
|
86ea91f424
|
riched20: Correctly handle the cursor at the end of a run case.
|
2014-01-07 15:21:27 +01:00 |
Huw Davies
|
2429e8b10b
|
riched20: Don't split a run if the cursor is at the end of it.
|
2014-01-07 15:21:23 +01:00 |
Huw Davies
|
7e7a8f1a4e
|
riched20: Simplify the code by accessing paragraphs directly from runs.
|
2014-01-07 15:21:13 +01:00 |
Jactry Zeng
|
51936be04d
|
riched20: Use CP_UNICODE instead of 1200.
|
2014-01-06 20:52:40 +01:00 |
Alexandre Julliard
|
99ef0d6ff0
|
makefiles: Get rid of the MAKE_TEST_RULES variable.
|
2014-01-02 12:13:16 +01:00 |
Alexandre Julliard
|
5e7416e5c8
|
makefiles: Get rid of the MAKE_DLL_RULES variable.
|
2014-01-02 12:08:18 +01:00 |
Huw Davies
|
b0f177b619
|
riched20: Ensure the cursors are correctly ordered in the case of a zero (logical) length selection bridging two runs.
|
2013-12-10 13:01:22 +01:00 |
Huw Davies
|
f13fe24e9e
|
riched20: Remove some over-zealous calls to clear the insert style.
It's cleared correctly, if the selection actually changes, in the
selection change notification handler.
|
2013-12-06 13:15:02 +01:00 |
Huw Davies
|
160f65f24a
|
riched20: Move the various selection setting methods to a common function.
|
2013-12-06 13:14:58 +01:00 |
Frédéric Delanoy
|
57d7f74d34
|
Assorted spelling fixes.
|
2013-11-21 19:44:46 +01:00 |
Huw Davies
|
0d8800d467
|
riched20: Simplify the code by using an ME_Paragraph pointer.
|
2013-11-21 19:39:01 +01:00 |
Frédéric Delanoy
|
e81412a4db
|
riched20: Use BOOL type where appropriate.
|
2013-11-20 11:26:07 +01:00 |
Huw Davies
|
58e83ebdea
|
riched20: Revert to the default paragraph style when all text is deleted.
|
2013-11-04 17:41:12 +01:00 |
André Hentschel
|
86a30afeb5
|
riched20/tests: Fix txtsrv tests compilation with __WINESRC__ defined.
|
2013-10-28 20:07:21 +01:00 |
André Hentschel
|
27fb62621a
|
riched20/tests: Fix richole tests compilation with __WINESRC__ defined.
|
2013-10-28 20:07:10 +01:00 |
André Hentschel
|
1431b1e9c4
|
riched20/tests: Fix editor tests compilation with __WINESRC__ defined.
|
2013-10-28 20:07:02 +01:00 |
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 |