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
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
Huw Davies
4cb7578d0b
riched20: Move the editor initialization out of CreateTextHost().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:35:40 +09:00
Nikolay Sivov
440b92131f
riched20: Return proper interface pointers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 16:07:26 +01: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
Francois Gouget
cd0200113c
riched20: Remove unneeded NONAMELESSXXX directives.
2015-03-19 14:05:48 +09:00
Michael Stefaniuc
c0cfc9a87a
riched20: Avoid a TRUE:FALSE conditional expression.
2012-08-15 12:12:51 +02:00
Marcus Meissner
598a7f6edf
riched20: Mark internal symbols with hidden visibility.
2011-05-24 11:55:55 +02:00
Michael Stefaniuc
e18ae2139b
riched20: COM cleanup for the ITextHost iface.
2011-04-11 12:10:20 +02:00
Sergey Khodych
205df00c64
riched20: Cache ES_WANTRETURN style.
2009-10-13 12:38:40 +02:00
Dylan Smith
3fe20bdc7e
richedit: Handle to parent window is cached.
...
The parent window for the richedit control on creation is the one that
receives notify messages, even after the parent has been changed using
SetParent.
2009-09-30 17:41:06 +02:00
Dmitry Timoshkov
8d524700d3
riched20: Make vtables const.
2009-09-08 13:06:49 +02:00
Alexandre Julliard
c1a1f0cfb4
riched20: Make sure we have a valid ITextHost vtable for all platforms.
2009-08-26 21:23:52 +02:00
Alexandre Julliard
eb08df3a90
riched20: Add appropriate stdcall decorations to assembly functions.
2009-06-15 13:42:26 +02:00
Alexandre Julliard
3fe51326cd
riched20: Move the textHostVtbl definition to work around Mac OS X breakage with __ASM_GLOBAL_FUNC.
2009-06-13 12:20:10 +02:00
Dylan Smith
bcd8dc93a2
richedit: Avoid calling ITextHost_TxNotify with EN_MSGFILTER.
...
The documentation for TxNotify says that it is not called with the
EN_MSGFILTER notification, so I made sure ME_FilterEvent didn't call
this method.
2009-03-06 12:49:04 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Michael Stefaniuc
fb9b95b7a9
riched20: Fix some Win64 compiler warnings.
...
- A HWND can be safely marshaled over a LONG as its payload is not
a pointer but a user handle.
- Use GetWindowLongPtr instead of GetWindowLong to retrieve a pointer.
2009-02-09 12:06:20 +01:00
Michael Stefaniuc
d1a7e41b71
riched20: Remove superfluous pointer casts.
2009-01-30 11:45:23 +01:00
Dylan Smith
902afbc65b
richedit: Prevented using NULL hwnd for certain operations.
...
Certain operations will simply not be done for windowless richedit
controls, such as WM_PAINT which isn't done for windowless richedit
controls since ITextServices provides a TxDraw method.
2009-01-21 11:55:03 +01:00
Dylan Smith
6c4dda009e
richedit: Implemented ITextHost for windowed richedit controls.
2009-01-21 11:54:26 +01:00