[1/5] richedit: Implemented ITextHost for windowed richedit controls.

Austin English austinenglish at gmail.com
Tue Jan 20 01:09:40 CST 2009


On Tue, Jan 20, 2009 at 12:41 AM, Dylan Smith <dylan.ah.smith at gmail.com> wrote:
> I plan on implementing windowless richedit controls by refactoring out
> the references the richedit controls hWnd into an ITextHost
> implementation.  This way windowless richedit controls can be
> implemented using the same code by using the ITextHost implementation
> provided to the CreateTextServices function.
>
> This patch mostly aims to provide an implementation of ITextHost that
> can be created and used in the windowed richedit control.  Later patches
> will use the ITextHost interface to avoid using the richedit controls
> hWnd.  Once the existing code is able to properly handle to the case
> where hWnd is NULL by using ITextHost, then ITextServices can be
> implemented using the existing richedit code.
> ---
>  dlls/riched20/Makefile.in |    1 +
>  dlls/riched20/editor.c    |   71 +++--
>  dlls/riched20/editor.h    |   49 +++
>  dlls/riched20/editstr.h   |    7 +
>  dlls/riched20/txthost.c   |  726 +++++++++++++++++++++++++++++++++++++++++++++
>  include/textserv.h        |   40 ---
>  6 files changed, 830 insertions(+), 64 deletions(-)
>  create mode 100644 dlls/riched20/txthost.c
>
>
>
>

I just wanted to thank Dylan for all his work on riched, and also for
his explanation on his work when submitting patches. While I don't
always know what he's fixing, it makes it easier to get an idea what
it is he's doing because of his clear explanations on each patchset.

-- 
-Austin



More information about the wine-devel mailing list