All:

I am working on the final version of the EM_FORMATRANGE patches.  Thanks
to Dylan Smith who has provided much feedback and corrections to these
patches.

James McKenzie

>From ef39f8e81f6ffbcef1588356552fd05fce491978 Mon Sep 17 00:00:00 2001
From: James McKenzie <[email protected]>
Date: Mon, 15 Feb 2010 14:18:19 -0700
Subject: 0001-Changes-to-Context.c-for-EM_FORMATRANGE

---
 dlls/riched20/editstr.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dlls/riched20/editstr.h b/dlls/riched20/editstr.h
index 9b8d645..b40d7cb 100644
--- a/dlls/riched20/editstr.h
+++ b/dlls/riched20/editstr.h
@@ -385,15 +385,34 @@ typedef struct tagME_TextEditor
   BOOL bMouseCaptured;
 } ME_TextEditor;
 
+typedef struct tagME_StyleMapping
+{
+  ME_Style *from;
+  ME_Style *to;
+  struct tagME_StyleMapping *next;
+} ME_StyleMapping;
+
+typedef struct tagME_StyleMap
+{
+  ME_StyleMapping *first;
+} ME_StyleMap;
+
+
 typedef struct tagME_Context
 {
   HDC hDC;
+  HDC hdcTarget;
+  BOOL bClip;
+  BOOL bHideSelection;
+  BOOL bWordWrap;
   POINT pt;
   POINT ptRowOffset;
   RECT rcView;
   HBRUSH hbrMargin;
   SIZE dpi;
+  SIZE dpiTarget;
   int nAvailWidth;
+  int nZoomNumerator, nZoomDenominator;
 
   /* those are valid inside ME_WrapTextParagraph and related */
   POINT ptFirstRun;
-- 
1.6.6



Reply via email to