Commit 4637a4ef authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

riched20: Make some functions static.

parent 483e3be2
...@@ -211,10 +211,6 @@ ME_Style *ME_GetSelectionInsertStyle(ME_TextEditor *editor); ...@@ -211,10 +211,6 @@ ME_Style *ME_GetSelectionInsertStyle(ME_TextEditor *editor);
BOOL ME_UpdateSelection(ME_TextEditor *editor, const ME_Cursor *pTempCursor); BOOL ME_UpdateSelection(ME_TextEditor *editor, const ME_Cursor *pTempCursor);
/* wrap.c */ /* wrap.c */
void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp);
ME_DisplayItem *ME_MakeRow(int height, int baseline, int width);
void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd);
void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp);
BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor); BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor);
void ME_InvalidateMarkedParagraphs(ME_TextEditor *editor); void ME_InvalidateMarkedParagraphs(ME_TextEditor *editor);
void ME_SendRequestResize(ME_TextEditor *editor, BOOL force); void ME_SendRequestResize(ME_TextEditor *editor, BOOL force);
......
...@@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit); ...@@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
* - no tabs * - no tabs
*/ */
ME_DisplayItem *ME_MakeRow(int height, int baseline, int width) static ME_DisplayItem *ME_MakeRow(int height, int baseline, int width)
{ {
ME_DisplayItem *item = ME_MakeDI(diStartRow); ME_DisplayItem *item = ME_MakeDI(diStartRow);
...@@ -51,7 +51,7 @@ static void ME_BeginRow(ME_WrapContext *wc) ...@@ -51,7 +51,7 @@ static void ME_BeginRow(ME_WrapContext *wc)
wc->pt.x = 0; wc->pt.x = 0;
} }
void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd) static void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd)
{ {
ME_DisplayItem *p, *row, *para; ME_DisplayItem *p, *row, *para;
int ascent = 0, descent = 0, width=0, shift = 0, align = 0; int ascent = 0, descent = 0, width=0, shift = 0, align = 0;
...@@ -336,7 +336,9 @@ static ME_DisplayItem *ME_WrapHandleRun(ME_WrapContext *wc, ME_DisplayItem *p) ...@@ -336,7 +336,9 @@ static ME_DisplayItem *ME_WrapHandleRun(ME_WrapContext *wc, ME_DisplayItem *p)
return p->next; return p->next;
} }
void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) { static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp);
static void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) {
ME_DisplayItem *p; ME_DisplayItem *p;
ME_WrapContext wc; ME_WrapContext wc;
int dpi = GetDeviceCaps(c->hDC, LOGPIXELSX); int dpi = GetDeviceCaps(c->hDC, LOGPIXELSX);
...@@ -379,7 +381,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) { ...@@ -379,7 +381,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) {
} }
void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) { static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) {
ME_DisplayItem *p, *pRow; ME_DisplayItem *p, *pRow;
/* remove all items that will be reinserted by paragraph wrapper anyway */ /* remove all items that will be reinserted by paragraph wrapper anyway */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment