ReactOS 0.4.16-dev-433-g6363f78
|
#include "editor.h"
Go to the source code of this file.
Macros | |
#define | COPY_FIELD(m, f) |
#define | EFFECTS_MASK |
#define | DUMP(mask, name, fmt, field) |
#define | DUMP_EFFECT(mask, name) p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 16)) ? "yes" : "no") : "N/A"); |
#define | CHECK_FIELD(m, f) if (pFmt->f != curFmt->f) pFmt->dwMask &= ~(m); |
#define DUMP_EFFECT | ( | mask, | |
name | |||
) | p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 16)) ? "yes" : "no") : "N/A"); |
#define EFFECTS_MASK |
void add_marked_para | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | di | ||
) |
Definition at line 112 of file para.c.
Referenced by mark_para_rewrap(), and ME_MakeFirstParagraph().
void destroy_para | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | item | ||
) |
Definition at line 48 of file para.c.
Referenced by ME_DestroyEditor(), and ME_JoinParagraphs().
ME_DisplayItem * get_di_from_para | ( | ME_Paragraph * | para | ) |
Definition at line 32 of file para.c.
Referenced by ME_InsertRunAtCursor(), ME_SetCharFormat(), ME_SetParaFormat(), and para_num_clear_list().
int get_total_width | ( | ME_TextEditor * | editor | ) |
Definition at line 64 of file para.c.
Referenced by destroy_para(), and ME_WrapMarkedParagraphs().
|
static |
Definition at line 37 of file para.c.
Referenced by ME_MakeFirstParagraph(), and ME_SplitParagraph().
void mark_para_rewrap | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | para | ||
) |
Definition at line 26 of file para.c.
Referenced by handle_enter(), ME_InsertRunAtCursor(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_JoinRuns(), ME_MarkForWrapping(), ME_PlayUndoItem(), ME_SetCharFormat(), ME_SetParaFormat(), ME_SplitParagraph(), ME_SplitRunSimple(), and para_num_clear_list().
void ME_DumpParaStyleToBuf | ( | const PARAFORMAT2 * | pFmt, |
char | buf[2048] | ||
) |
Definition at line 819 of file para.c.
|
static |
Definition at line 923 of file para.c.
Referenced by ME_GetSelectionParaFormat().
ME_DisplayItem * ME_GetParagraph | ( | ME_DisplayItem * | item | ) |
Definition at line 815 of file para.c.
Referenced by ME_ArrowEnd(), ME_ArrowHome(), ME_ExtendAnchorSelection(), ME_FindRunInRow(), ME_HandleMessage(), ME_InsertTableRowStartAtParagraph(), ME_IsInTable(), ME_JoinRuns(), ME_MoveCursorLines(), ME_RTFSpecialCharHook(), ME_SelectByType(), ME_SelectOrInsertNextCell(), and ME_SplitParagraph().
void ME_GetSelectionParaFormat | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | pFmt | ||
) |
Definition at line 937 of file para.c.
Referenced by ME_HandleMessage(), and ME_RTFParAttrHook().
void ME_GetSelectionParas | ( | ME_TextEditor * | editor, |
ME_DisplayItem ** | para, | ||
ME_DisplayItem ** | para_end | ||
) |
Definition at line 883 of file para.c.
Referenced by ME_GetSelectionParaFormat(), ME_InvalidateSelection(), and ME_SetSelectionParaFormat().
ME_DisplayItem * ME_JoinParagraphs | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | tp, | ||
BOOL | keepFirstParaFormat | ||
) |
Definition at line 687 of file para.c.
Referenced by ME_InternalDeleteText(), and ME_PlayUndoItem().
void ME_MakeFirstParagraph | ( | ME_TextEditor * | editor | ) |
Definition at line 151 of file para.c.
Referenced by ME_MakeEditor().
void ME_MarkAllForWrapping | ( | ME_TextEditor * | editor | ) |
Definition at line 236 of file para.c.
Referenced by ME_HandleMessage(), ME_RewrapRepaint(), and ME_SetDefaultCharFormat().
|
static |
void ME_SetDefaultParaFormat | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | pFmt | ||
) |
Definition at line 992 of file para.c.
Referenced by handle_enter(), make_para(), ME_InternalDeleteText(), and ME_StreamIn().
|
static |
Definition at line 464 of file para.c.
Referenced by ME_SetSelectionParaFormat().
BOOL ME_SetSelectionParaFormat | ( | ME_TextEditor * | editor, |
const PARAFORMAT2 * | pFmt | ||
) |
Definition at line 907 of file para.c.
Referenced by ME_HandleMessage(), and SpecialChar().
ME_DisplayItem * ME_SplitParagraph | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | run, | ||
ME_Style * | style, | ||
const WCHAR * | eol_str, | ||
int | eol_len, | ||
int | paraFlags | ||
) |
Definition at line 545 of file para.c.
Referenced by ME_InsertEndParaFromCursor(), ME_InsertTextFromCursor(), and ME_PlayUndoItem().
|
static |
Definition at line 241 of file para.c.
Referenced by ME_SplitParagraph().
Definition at line 442 of file para.c.
Referenced by destroy_para(), and para_num_clear_list().
|
static |
Definition at line 453 of file para.c.
Referenced by ME_JoinParagraphs(), ME_SetParaFormat(), and ME_SplitParagraph().
|
static |
Definition at line 268 of file para.c.
Referenced by para_num_init().
|
static |
Definition at line 281 of file para.c.
Referenced by para_num_init().
void para_num_init | ( | ME_Context * | c, |
ME_Paragraph * | para | ||
) |
Definition at line 395 of file para.c.
Referenced by ME_WrapTextParagraph().
|
inlinestatic |
Definition at line 260 of file para.c.
Referenced by para_num_clear_list(), and para_num_get_num().
void remove_marked_para | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | di | ||
) |
Definition at line 82 of file para.c.
Referenced by destroy_para(), and ME_WrapMarkedParagraphs().
WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |