ReactOS 0.4.16-dev-401-g45b008d
|
#include "editor.h"
Go to the source code of this file.
int ME_CharFromPoint | ( | ME_TextEditor * | editor, |
int | cx, | ||
ME_Run * | run, | ||
BOOL | closest, | ||
BOOL | visual_order | ||
) |
Definition at line 521 of file run.c.
Referenced by ME_FindRunInRow().
int ME_CharFromPointContext | ( | ME_Context * | c, |
int | cx, | ||
ME_Run * | run, | ||
BOOL | closest, | ||
BOOL | visual_order | ||
) |
Definition at line 462 of file run.c.
Referenced by find_split_point(), and ME_CharFromPoint().
int ME_CharOfsFromRunOfs | ( | ME_TextEditor * | editor, |
const ME_DisplayItem * | pPara, | ||
const ME_DisplayItem * | pRun, | ||
int | nOfs | ||
) |
Definition at line 156 of file run.c.
Referenced by ME_HandleMessage().
void ME_CheckCharOffsets | ( | ME_TextEditor * | editor | ) |
Definition at line 101 of file run.c.
Referenced by ME_ArrowKey(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_JoinRuns(), ME_KeyDown(), ME_MakeEditor(), and split_run_extents().
void ME_CursorFromCharOfs | ( | ME_TextEditor * | editor, |
int | nCharOfs, | ||
ME_Cursor * | pCursor | ||
) |
Definition at line 171 of file run.c.
Referenced by fnTextSrv_TxGetText(), get_textfont_prop_for_pos(), IRichEditOle_fnGetClipboardData(), IRichEditOle_fnGetObject(), ITextRange_fnGetChar(), ITextRange_fnGetText(), ITextRange_fnScrollIntoView(), ITextRange_fnSetText(), ME_FindText(), ME_GetSelectionType(), ME_HandleMessage(), ME_InternalDeleteText(), ME_PlayUndoItem(), ME_StreamIn(), set_selection_cursors(), set_textfont_prop(), and textrange_set_font().
void ME_GetCharFormat | ( | ME_TextEditor * | editor, |
const ME_Cursor * | from, | ||
const ME_Cursor * | to, | ||
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 819 of file run.c.
Referenced by get_textfont_prop_for_pos(), ME_GetSelectionCharFormat(), ME_StreamIn(), and ME_UpdateLinkAttribute().
void ME_GetDefaultCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 790 of file run.c.
Referenced by ME_HandleMessage().
|
static |
Definition at line 779 of file run.c.
Referenced by ME_GetCharFormat().
SIZE ME_GetRunSizeCommon | ( | ME_Context * | c, |
const ME_Paragraph * | para, | ||
ME_Run * | run, | ||
int | nLen, | ||
int | startx, | ||
int * | pAscent, | ||
int * | pDescent | ||
) |
Definition at line 616 of file run.c.
Referenced by calc_run_extent().
void ME_GetSelectionCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 801 of file run.c.
Referenced by ME_HandleMessage(), ME_KeyDown(), and update_caret().
|
static |
Definition at line 537 of file run.c.
Referenced by ME_GetRunSizeCommon(), and ME_PointFromCharContext().
ME_DisplayItem * ME_InsertRunAtCursor | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
ME_Style * | style, | ||
const WCHAR * | str, | ||
int | len, | ||
int | flags | ||
) |
Definition at line 325 of file run.c.
Referenced by ME_InternalInsertTextFromCursor(), and ME_PlayUndoItem().
void ME_JoinRuns | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | p | ||
) |
Definition at line 229 of file run.c.
Referenced by ME_PrepareParagraphForWrapping().
ME_DisplayItem * ME_MakeRun | ( | ME_Style * | s, |
int | nFlags | ||
) |
Definition at line 296 of file run.c.
Referenced by ME_InsertRunAtCursor(), ME_MakeFirstParagraph(), ME_SplitParagraph(), and ME_SplitRunSimple().
int ME_PointFromChar | ( | ME_TextEditor * | editor, |
ME_Run * | pRun, | ||
int | nOffset, | ||
BOOL | visual_order | ||
) |
Definition at line 598 of file run.c.
Referenced by ME_EnsureVisible(), ME_GetXForArrow(), and ME_HandleMessage().
int ME_PointFromCharContext | ( | ME_Context * | c, |
ME_Run * | pRun, | ||
int | nOffset, | ||
BOOL | visual_order | ||
) |
Definition at line 557 of file run.c.
Referenced by get_selection_rect(), ME_GetCursorCoordinates(), ME_InsertRowStart(), and ME_PointFromChar().
void ME_PropagateCharOffset | ( | ME_DisplayItem * | p, |
int | shift | ||
) |
Definition at line 59 of file run.c.
Referenced by ME_InsertRunAtCursor(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_SkipAndPropagateCharOffset(), and ME_SplitParagraph().
void ME_RunOfsFromCharOfs | ( | ME_TextEditor * | editor, |
int | nCharOfs, | ||
ME_DisplayItem ** | ppPara, | ||
ME_DisplayItem ** | ppRun, | ||
int * | pOfs | ||
) |
Definition at line 184 of file run.c.
Referenced by ME_CursorFromCharOfs(), and ME_HandleMessage().
void ME_SetCharFormat | ( | ME_TextEditor * | editor, |
ME_Cursor * | start, | ||
ME_Cursor * | end, | ||
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 725 of file run.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_HandleMessage(), ME_JoinParagraphs(), ME_PlayUndoItem(), ME_SetSelectionCharFormat(), ME_UpdateLinkAttribute(), set_textfont_prop(), and textrange_set_font().
void ME_SetSelectionCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 696 of file run.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_HandleMessage(), and ME_StreamIn().
void ME_SkipAndPropagateCharOffset | ( | ME_DisplayItem * | p, |
int | shift | ||
) |
ME_DisplayItem * ME_SplitRunSimple | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 258 of file run.c.
Referenced by itemize_para(), ME_InsertEndParaFromCursor(), ME_InsertRunAtCursor(), ME_InsertTextFromCursor(), ME_PlayUndoItem(), ME_SetCharFormat(), and split_run_extents().
void ME_UpdateRunFlags | ( | ME_TextEditor * | editor, |
ME_Run * | run | ||
) |
Definition at line 413 of file run.c.
Referenced by ME_JoinRuns(), ME_SplitByBacktracking(), ME_SplitRunSimple(), and ME_WrapSizeRun().
Definition at line 377 of file run.c.
Referenced by ME_UpdateRunFlags().
WINE_DECLARE_DEBUG_CHANNEL | ( | richedit_check | ) |
WINE_DECLARE_DEBUG_CHANNEL | ( | richedit_lists | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |