63 const WCHAR *eol_str,
int eol_len,
104 while (para != end_para)
210 if (
p->member.para.pCell)
230 else if (
p->member.para.pCell)
238 assert(
p->member.para.pCell->member.cell.parent_cell
242 ==
p->member.para.pCell->member.cell.prev_cell);
254 p =
p->member.para.next_para;
263 p =
p->member.para.next_para;
314 while (this_para != end_para)
322 next_para = this_para;
328 bTruancateDeletion =
TRUE;
330 while (!bTruancateDeletion &&
344 bTruancateDeletion =
TRUE;
349 if (bTruancateDeletion)
354 nCharsNew =
max(nCharsNew, 0);
355 assert(nCharsNew <= *nChars);
359 this_para = next_para;
364 int nCharsToBoundary;
375 -
c->pRun->member.run.nCharOfs
377 *nChars =
min(*nChars, nCharsToBoundary);
398 if (nCharsToBoundary >= 0)
399 *nChars =
min(*nChars, nCharsToBoundary);
523 for (
i = 0;
i < 2;
i++)
639 RTFTable *tableDef = heap_alloc_zero(
sizeof(*tableDef));
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
BOOL ME_IsSelection(ME_TextEditor *editor)
int ME_GetCursorOfs(const ME_Cursor *cursor)
void ME_InsertTextFromCursor(ME_TextEditor *editor, int nCursor, const WCHAR *str, int len, ME_Style *style)
int ME_MoveCursorChars(ME_TextEditor *editor, ME_Cursor *cursor, int nRelOfs, BOOL final_eop)
void ME_SendSelChange(ME_TextEditor *editor)
void update_caret(ME_TextEditor *editor)
static void ME_SelectOrInsertNextCell(ME_TextEditor *editor, ME_DisplayItem *run)
ME_DisplayItem * ME_GetTableRowEnd(ME_DisplayItem *para)
static const WCHAR cr_lf[]
void ME_MoveCursorFromTableRowStartParagraph(ME_TextEditor *editor)
ME_DisplayItem * ME_InsertTableRowEndFromCursor(ME_TextEditor *editor)
void ME_CheckTablesForCorruption(ME_TextEditor *editor)
ME_DisplayItem * ME_GetTableRowStart(ME_DisplayItem *para)
ME_DisplayItem * ME_InsertTableRowStartFromCursor(ME_TextEditor *editor)
ME_DisplayItem * ME_AppendTableRow(ME_TextEditor *editor, ME_DisplayItem *table_row)
ME_DisplayItem * ME_GetOuterParagraph(ME_DisplayItem *para)
BOOL ME_IsInTable(ME_DisplayItem *pItem)
static ME_DisplayItem * ME_InsertEndParaFromCursor(ME_TextEditor *editor, int nCursor, const WCHAR *eol_str, int eol_len, int paraFlags)
void ME_TabPressedInTable(ME_TextEditor *editor, BOOL bSelectedRow)
ME_DisplayItem * ME_InsertTableCellFromCursor(ME_TextEditor *editor)
ME_DisplayItem * ME_InsertTableRowStartAtParagraph(ME_TextEditor *editor, ME_DisplayItem *para)
struct RTFTable * ME_MakeTableDef(ME_TextEditor *editor)
void ME_InitTableDef(ME_TextEditor *editor, struct RTFTable *tableDef)
void ME_ProtectPartialTableDeletion(ME_TextEditor *editor, ME_Cursor *c, int *nChars)
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
void ME_ReleaseStyle(ME_Style *item) DECLSPEC_HIDDEN
ME_Style * ME_GetInsertStyle(ME_TextEditor *editor, int nCursor) DECLSPEC_HIDDEN
BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor) DECLSPEC_HIDDEN
ME_DisplayItem * ME_FindItemBack(ME_DisplayItem *di, ME_DIType nTypeOrClass) DECLSPEC_HIDDEN
ME_DisplayItem * ME_SplitRunSimple(ME_TextEditor *editor, ME_Cursor *cursor) DECLSPEC_HIDDEN
ME_DisplayItem * ME_GetParagraph(ME_DisplayItem *run) DECLSPEC_HIDDEN
void ME_DumpDocument(ME_TextBuffer *buffer) DECLSPEC_HIDDEN
void ME_InvalidateSelection(ME_TextEditor *editor) DECLSPEC_HIDDEN
ME_DisplayItem * ME_SplitParagraph(ME_TextEditor *editor, ME_DisplayItem *rp, ME_Style *style, const WCHAR *eol_str, int eol_len, int paraFlags) DECLSPEC_HIDDEN
void ME_Repaint(ME_TextEditor *editor) DECLSPEC_HIDDEN
ME_DisplayItem * ME_FindItemFwd(ME_DisplayItem *di, ME_DIType nTypeOrClass) DECLSPEC_HIDDEN
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define PFM_TABLEROWDELIMITER
#define PFE_TABLEROWDELIMITER
RTFCell cells[MAX_TABLE_CELLS]
struct tagME_DisplayItem * prev_cell
struct tagME_DisplayItem * next_cell
union tagME_DisplayItem::@535 member
struct tagME_DisplayItem * next
struct tagME_DisplayItem * next_para
struct tagME_DisplayItem * prev_para
struct tagME_DisplayItem * pCell