Nikolay Sivov
2064c206c0
riched20: Use regular allocation helpers for text services objects.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-30 21:24:25 +02:00
Huw Davies
43d377c260
riched20: Merge the richole object with the text services object.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-31 22:16:25 +02:00
Huw Davies
62f96b0397
riched20: Send EN_UPDATE from TxDraw().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Huw Davies
cc3a86d86b
riched20: Remove the windows from the editor structure.
...
This in turn allows removal of the editor from the host.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 16:48:30 +01:00
Huw Davies
c4acdfd3b4
riched20: Use the text host stored in the editor structure.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 16:48:30 +01:00
Huw Davies
e7b42deaf2
riched20: Implement TxGetNaturalSize().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 12:48:48 +01:00
Huw Davies
aae4fa9b1c
riched20: Don't invalidate while inside TxDraw().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 12:48:48 +01:00
Huw Davies
02f083641e
riched20: Implement TxDraw().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 20:53:44 +01:00
Huw Davies
393b18ab7a
riched20: Call OnTxInPlaceActivate() from the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 20:53:37 +01:00
Huw Davies
ef6f58e4bd
riched20: TxGet[HV]Scroll should return the actual enabled state.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Huw Davies
14f4bd9697
riched20: Implement ITextServices_OnTxInPlaceActivate().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Huw Davies
61ce905bc4
include: Fix spelling of the InPlace methods.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-19 11:06:30 +01:00
Huw Davies
68c5f747db
riched20: Update editor's wordwrap state.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-19 11:06:28 +01:00
Huw Davies
887ffec967
riched20: Handle WM_SETCURSOR in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Huw Davies
06fb9c7f4c
riched20: Handle EM_SETPASSWORDCHAR in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Huw Davies
8724c37c7b
riched20: Set the window title in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 10:13:00 +01:00
Huw Davies
a1f88602b4
riched20: Handle the client rect changes in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 10:12:58 +01:00
Huw Davies
518c548b7a
riched20: Handle ES_SELECTIONBAR in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 10:12:55 +01:00
Huw Davies
030fbc4587
riched20: Use the host to set hide/save-sel, auto-word-sel, and vertical properties.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 10:45:50 +01:00
Huw Davies
d7d81d7182
riched20: Handle scrollbar changes in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 10:45:30 +01:00
Huw Davies
8544242f43
riched20: Handle the read-only property setting in the host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 10:45:23 +01:00
Huw Davies
7ea3993284
riched20: Add ITextServices stdcall wrappers.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 13:13:35 +01:00
Huw Davies
115c3ab2a2
riched20: Remove an unused critsec.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Huw Davies
9b7261d995
riched20: The text host should create the text services object.
...
For now, we hold on to the editor too; this will eventually go away.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:44 +01:00
Huw Davies
68523af9b0
riched20: Don't take a ref on the text host.
...
This would result in the host and services objects holding
refs on each other.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:44 +01:00
Huw Davies
83254bb318
riched20: Remove the text services structure's typedef.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:44 +01:00
Huw Davies
57c2580a73
riched20: Simplify the cursor from char offset function.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-15 20:18:30 +02:00
Jacek Caban
9763f5189f
riched20: Include wine/asm.h in editstr.h.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49068
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-04 12:39:09 +02:00
Huw Davies
5419a9804a
riched20: Clearly separate the selection setting functions.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 14:11:38 +02:00
Alexandre Julliard
a6d57b0add
riched20: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 11:22:47 +02:00
Alexandre Julliard
f3e45c37a2
riched20: Declare thiscall functions as __thiscall.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 20:11:19 +02:00
Alexandre Julliard
ee4db2005e
include: Define thiscall assembly wrappers globally.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 20:11:19 +02:00
Alexandre Julliard
d5a372abbb
include: Move inline assembly definitions to a new wine/asm.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Thomas Faber
b64511c00a
riched20: Implement MSVC asm wrappers.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:09:45 +01:00
Sven Baars
d917f0ef09
riched20: Fix IRichEditOle COM aggregation (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-06 19:57:27 +01:00
Jactry Zeng
e20142aea6
riched20: Add stub for ITextDocument2Old interface.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-28 11:05:20 +02:00
Alex Henrie
e11c3ddd59
riched20: Avoid using GCC's typeof extension.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 11:04:01 +02:00
Jactry Zeng
563bfdfc18
riched20: Handle NULL in ITextServices::{TxGetHScroll, TxGetVScroll}.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43488
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 13:03:24 +02:00
Huw Davies
1bc48be4a7
riched20: Initialize ME_TextEditor members in ME_MakeEditor().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:35:52 +09:00
Huw Davies
5cc8c9fe83
riched20: Retrieve the default paragraph alignment from the text host.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:35:48 +09:00
Fabian Maurer
9f37f6afb4
riched20: Check for NULL in fnTextSrv_TxSetText and add test.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:11 +01:00
Michael Stefaniuc
a58822dba4
riched20: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-08 21:29:44 +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
Nikolay Sivov
b75cd7e2f0
riched20: Avoid extra host calls during CreateTextServices().
2015-06-02 20:53:44 +09:00
Francois Gouget
cd0200113c
riched20: Remove unneeded NONAMELESSXXX directives.
2015-03-19 14:05:48 +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
ffb706ceb0
riched20: Fix a leak.
2014-10-30 12:00:57 +09:00
Jactry Zeng
1f6073c861
riched20: Implement ITextSelection::GetText.
2014-07-21 18:45:38 +02:00
Jactry Zeng
0f23b967a4
include: Fix a typo in ITextServices method named TxGetCurTarget.
2014-03-12 19:06:31 +01:00
Michael Stefaniuc
6c1b292f0b
riched20: Let C look like C.
2013-02-07 12:04:01 +01:00