ReactOS 0.4.15-dev-8102-g108db8f
|
#include "editstr.h"
Go to the source code of this file.
Variables | |
HANDLE me_heap | DECLSPEC_HIDDEN |
#define ITextHost_OnTxCharFormatChange | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->OnTxCharFormatChange(This,a) |
#define ITextHost_OnTxParaFormatChange | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->OnTxParaFormatChange(This,a) |
#define ITextHost_TxActivate | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxActivate(This,a) |
#define ITextHost_TxClientToScreen | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxClientToScreen(This,a) |
#define ITextHost_TxDeactivate | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxDeactivate(This,a) |
#define ITextHost_TxGetAcceleratorPos | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetAcceleratorPos(This,a) |
#define ITextHost_TxGetBackStyle | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetBackStyle(This,a) |
#define ITextHost_TxGetCharFormat | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetCharFormat(This,a) |
#define ITextHost_TxGetClientRect | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetClientRect(This,a) |
#define ITextHost_TxGetDC | ( | This | ) | TXTHOST_VTABLE(This)->TxGetDC(This) |
#define ITextHost_TxGetExtent | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetExtent(This,a) |
#define ITextHost_TxGetMaxLength | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetMaxLength(This,a) |
#define ITextHost_TxGetParaFormat | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetParaFormat(This,a) |
#define ITextHost_TxGetPasswordChar | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetPasswordChar(This,a) |
#define ITextHost_TxGetScrollBars | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetScrollBars(This,a) |
#define ITextHost_TxGetSelectionBarWidth | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetSelectionBarWidth(This,a) |
#define ITextHost_TxGetSysColor | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetSysColor(This,a) |
#define ITextHost_TxGetViewInset | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetViewInset(This,a) |
#define ITextHost_TxImmGetContext | ( | This | ) | TXTHOST_VTABLE(This)->TxImmGetContext(This) |
#define ITextHost_TxImmReleaseContext | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxImmReleaseContext(This,a) |
#define ITextHost_TxKillTimer | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxKillTimer(This,a) |
#define ITextHost_TxReleaseDC | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxReleaseDC(This,a) |
#define ITextHost_TxScreenToClient | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxScreenToClient(This,a) |
#define ITextHost_TxSetCapture | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxSetCapture(This,a) |
#define ITextHost_TxSetFocus | ( | This | ) | TXTHOST_VTABLE(This)->TxSetFocus(This) |
#define ITextHost_TxShowCaret | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxShowCaret(This,a) |
#define ITextHost_TxViewChange | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxViewChange(This,a) |
#define RUN_IS_HIDDEN | ( | run | ) |
void add_marked_para | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | para | ||
) |
Definition at line 112 of file para.c.
Referenced by mark_para_rewrap(), and ME_MakeFirstParagraph().
BOOL add_undo_delete_run | ( | ME_TextEditor * | editor, |
int | pos, | ||
int | len | ||
) |
Definition at line 204 of file undo.c.
Referenced by ME_InsertRunAtCursor().
BOOL add_undo_insert_run | ( | ME_TextEditor * | editor, |
int | pos, | ||
const WCHAR * | str, | ||
int | len, | ||
int | flags, | ||
ME_Style * | style | ||
) |
Definition at line 131 of file undo.c.
Referenced by ME_InternalDeleteText().
BOOL add_undo_join_paras | ( | ME_TextEditor * | editor, |
int | pos | ||
) |
BOOL add_undo_set_char_fmt | ( | ME_TextEditor * | editor, |
int | pos, | ||
int | len, | ||
const CHARFORMAT2W * | fmt | ||
) |
Definition at line 164 of file undo.c.
Referenced by ME_SetCharFormat().
BOOL add_undo_set_para_fmt | ( | ME_TextEditor * | editor, |
const ME_Paragraph * | para | ||
) |
Definition at line 152 of file undo.c.
Referenced by ME_JoinParagraphs(), ME_PlayUndoItem(), and ME_SetParaFormat().
BOOL add_undo_split_para | ( | ME_TextEditor * | editor, |
const ME_Paragraph * | para, | ||
ME_String * | eol_str, | ||
const ME_Cell * | cell | ||
) |
Definition at line 185 of file undo.c.
Referenced by ME_JoinParagraphs().
BOOL cf2w_to_cfany | ( | CHARFORMAT2W * | to, |
const CHARFORMAT2W * | from | ||
) |
Definition at line 79 of file style.c.
Referenced by ME_HandleMessage().
BOOL cfany_to_cf2w | ( | CHARFORMAT2W * | to, |
const CHARFORMAT2W * | from | ||
) |
Definition at line 36 of file style.c.
Referenced by handle_EM_SETCHARFORMAT(), and ME_MakeFirstParagraph().
void create_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 272 of file caret.c.
Referenced by ME_HandleMessage(), and update_caret().
LRESULT CreateIRichEditOle | ( | IUnknown * | outer_unk, |
ME_TextEditor * | editor, | ||
LPVOID * | ppvObj | ||
) |
Definition at line 5688 of file richole.c.
Referenced by insert_static_object(), ITextServicesImpl_QueryInterface(), and ME_HandleMessage().
Definition at line 46 of file editor.h.
Referenced by itemize_para(), ME_CheckCharOffsets(), ME_DumpDocument(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_MaximizeSplit(), ME_PropagateCharOffset(), ME_SplitByBacktracking(), and split_run_extents().
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().
Definition at line 41 of file editor.h.
Referenced by debugstr_run(), draw_text(), ME_CharFromPointContext(), ME_DrawParagraph(), ME_FindNextURLCandidate(), ME_FindText(), ME_GetRunSizeCommon(), ME_GetTextW(), ME_HandleMessage(), ME_InsertRowStart(), ME_InternalDeleteText(), ME_MaximizeSplit(), ME_MoveCursorWords(), ME_PointFromCharContext(), ME_SplitByBacktracking(), ME_StreamOutRTF(), ME_StreamOutText(), ME_UpdateRunFlags(), ME_WrapHandleRun(), run_is_entirely_ws(), run_is_splittable(), shape_run(), and test_para_numbering().
int get_total_width | ( | ME_TextEditor * | editor | ) |
Definition at line 64 of file para.c.
Referenced by destroy_para(), and ME_WrapMarkedParagraphs().
void hide_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 288 of file caret.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), and update_caret().
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().
Definition at line 454 of file style.c.
Referenced by add_undo_insert_run(), ME_ApplyStyle(), ME_GetInsertStyle(), ME_HandleMessage(), ME_MakeRun(), ME_RTFReadHook(), ME_SaveTempStyle(), ME_StreamIn(), para_num_init(), and RTFUngetToken().
Definition at line 126 of file string.c.
Referenced by ME_JoinParagraphs(), and ME_SplitParagraph().
ME_DisplayItem * ME_AppendTableRow | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | table_row | ||
) |
Definition at line 407 of file table.c.
Referenced by handle_enter(), and ME_SelectOrInsertNextCell().
ME_Style * ME_ApplyStyle | ( | ME_TextEditor * | ed, |
ME_Style * | sSrc, | ||
CHARFORMAT2W * | style | ||
) |
Definition at line 156 of file style.c.
Referenced by ME_RTFCharAttrHook(), ME_SetCharFormat(), ME_SetDefaultCharFormat(), ME_SetSelectionCharFormat(), and para_num_init().
BOOL ME_ArrowKey | ( | ME_TextEditor * | ed, |
int | nVKey, | ||
BOOL | extend, | ||
BOOL | ctrl | ||
) |
Definition at line 1630 of file caret.c.
Referenced by ME_KeyDown().
Definition at line 204 of file string.c.
Referenced by ME_MoveCursorWords().
void ME_CharFormatFromLogFont | ( | HDC | hDC, |
const LOGFONTW * | lf, | ||
CHARFORMAT2W * | fmt | ||
) |
Definition at line 331 of file style.c.
Referenced by ME_HandleMessage().
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().
Definition at line 1122 of file caret.c.
Referenced by ME_HandleMessage(), ME_LinkNotify(), and ME_SetCursor().
int ME_CharOfsFromRunOfs | ( | ME_TextEditor * | editor, |
const ME_DisplayItem * | pPara, | ||
const ME_DisplayItem * | pRun, | ||
int | nOfs | ||
) |
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_CheckTablesForCorruption | ( | ME_TextEditor * | editor | ) |
Definition at line 192 of file table.c.
Referenced by handle_enter(), ME_Redo(), ME_StreamIn(), and ME_Undo().
void ME_ClearTempStyle | ( | ME_TextEditor * | editor | ) |
Definition at line 523 of file style.c.
Referenced by ME_DestroyEditor(), ME_HandleMessage(), ME_ReplaceSel(), ME_SendSelChange(), and ME_StreamIn().
void ME_CommitCoalescingUndo | ( | ME_TextEditor * | editor | ) |
Commits preceding changes into a undo transaction that can be expanded.
This function allows the transaction to be reopened with ME_ContinueCoalescingTransaction in order to continue the transaction. If an undo item is added to the undo stack as a result of a change without the transaction being reopened, then the transaction will be ended, and the changes will become a part of the next transaction.
This is used to allow typed characters to be grouped together since each typed character results in a single event, and each event adding undo items must be committed. Using this function as opposed to ME_CommitUndo allows multiple events to be grouped, and undone together.
Definition at line 301 of file undo.c.
Referenced by handle_enter(), ME_Char(), and ME_KeyDown().
void ME_CommitUndo | ( | ME_TextEditor * | editor | ) |
Commits preceding changes into a transaction that can be undone together.
This should be called after all the changes occur associated with an event so that the group of changes can be undone atomically as a transaction.
This will have no effect the undo mode is set to ignore changes, or if no changes preceded calling this function before the last time it was called.
This can also be used to conclude a coalescing transaction (used for grouping typed characters).
Definition at line 227 of file undo.c.
Referenced by copy_or_cut(), handle_EM_SETCHARFORMAT(), handle_enter(), IRichEditOle_fnInsertObject(), ME_Char(), ME_HandleMessage(), ME_KeyDown(), ME_ReplaceSel(), ME_StreamIn(), ME_WmCreate(), and paste_emf().
void ME_ContinueCoalescingTransaction | ( | ME_TextEditor * | editor | ) |
Groups subsequent changes with previous ones for an undo if coalescing.
Has no effect if the previous changes were followed by a ME_CommitUndo. This function will only have an affect if the previous changes were followed by a call to ME_CommitCoalescingUndo, which allows the transaction to be continued.
This allows multiple consecutively typed characters to be grouped together to be undone by a single undo operation.
Definition at line 265 of file undo.c.
Referenced by handle_enter(), ME_Char(), and ME_KeyDown().
void ME_CopyCharFormat | ( | CHARFORMAT2W * | pDest, |
const CHARFORMAT2W * | pSrc | ||
) |
Definition at line 230 of file style.c.
Referenced by ME_GetDefaultCharFormat(), ME_GetRunCharFormat(), and ME_GetSelectionCharFormat().
Definition at line 5907 of file richole.c.
Referenced by create_re_object(), and IRichEditOle_fnGetObject().
ITextHost * ME_CreateTextHost | ( | HWND | hwnd, |
CREATESTRUCTW * | cs, | ||
BOOL | bEmulateVersion10 | ||
) |
Definition at line 44 of file txthost.c.
Referenced by create_windowed_editor().
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().
Definition at line 5899 of file richole.c.
Referenced by ME_DestroyDisplayItem().
void ME_DeleteSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1584 of file caret.c.
Referenced by ME_HandleMessage(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_InsertTextFromCursor(), and ME_KeyDown().
BOOL ME_DeleteTextAtCursor | ( | ME_TextEditor * | editor, |
int | nCursor, | ||
int | nChars | ||
) |
Definition at line 510 of file caret.c.
Referenced by ME_DeleteSelection(), and ME_KeyDown().
void ME_DestroyContext | ( | ME_Context * | c | ) |
Definition at line 44 of file context.c.
Referenced by ME_CharFromPoint(), ME_GetCursorCoordinates(), ME_InvalidateParagraphRange(), ME_MakeFirstParagraph(), ME_PaintContent(), ME_PointFromChar(), ME_WrapMarkedParagraphs(), and stream_out_graphics().
void ME_DestroyDisplayItem | ( | ME_DisplayItem * | item | ) |
Definition at line 160 of file list.c.
Referenced by destroy_para(), ME_DestroyEditor(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_JoinRuns(), and ME_PrepareParagraphForWrapping().
void ME_DestroyEditor | ( | ME_TextEditor * | editor | ) |
Definition at line 3194 of file editor.c.
Referenced by ITextServicesImpl_Release(), and ME_HandleMessage().
Definition at line 96 of file string.c.
Referenced by destroy_para(), destroy_undo_item(), draw_text(), ME_CharFromPointContext(), ME_GetRunSizeCommon(), ME_PointFromCharContext(), and para_num_clear().
Definition at line 442 of file style.c.
Referenced by ME_DestroyEditor(), and ME_ReleaseStyle().
Definition at line 5804 of file richole.c.
Referenced by ME_DrawRun().
void ME_DumpDocument | ( | ME_TextBuffer * | buffer | ) |
Definition at line 187 of file list.c.
Referenced by ME_CheckCharOffsets(), and ME_CheckTablesForCorruption().
void ME_DumpParaStyle | ( | ME_Paragraph * | s | ) |
void ME_DumpParaStyleToBuf | ( | const PARAFORMAT2 * | pFmt, |
char | buf[2048] | ||
) |
Definition at line 819 of file para.c.
void ME_DumpStyleToBuf | ( | CHARFORMAT2W * | pFmt, |
char | buf[2048] | ||
) |
Definition at line 250 of file style.c.
Referenced by ME_DumpStyle(), and ME_KeyDown().
void ME_EmptyUndoStack | ( | ME_TextEditor * | editor | ) |
Definition at line 53 of file undo.c.
Referenced by add_undo_insert_run(), fnTextSrv_TxSetText(), ME_DestroyEditor(), ME_HandleMessage(), ME_ReplaceSel(), and ME_StreamIn().
Definition at line 248 of file string.c.
Referenced by ME_HandleMessage(), and ME_SetText().
void ME_EnsureVisible | ( | ME_TextEditor * | editor, |
ME_Cursor * | pCursor | ||
) |
Definition at line 1275 of file paint.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), ME_MouseMove(), and ME_UpdateRepaint().
ME_DisplayItem * ME_FindItemBack | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
Definition at line 111 of file list.c.
Referenced by adjust_para_y(), handle_enter(), ME_AppendTableRow(), ME_ArrowEnd(), ME_ArrowHome(), ME_ArrowPageDown(), ME_ArrowPageUp(), ME_BeginRow(), ME_CheckTablesForCorruption(), ME_DrawRun(), ME_DrawTableBorders(), ME_EnsureVisible(), ME_ExtendAnchorSelection(), ME_FindPixelPos(), ME_FindText(), ME_GetCharFormat(), ME_GetCursorCoordinates(), ME_GetInsertStyle(), ME_GetOuterParagraph(), ME_GetTableRowStart(), ME_GetXForArrow(), ME_HandleMessage(), ME_InsertRunAtCursor(), ME_InsertTextFromCursor(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_MaximizeSplit(), ME_MoveCursorChars(), ME_MoveCursorLines(), ME_MoveCursorWords(), ME_PaintContent(), ME_PlayUndoItem(), ME_ProtectPartialTableDeletion(), ME_SelectByType(), ME_SelectOrInsertNextCell(), ME_SetCursorToEnd(), and ME_TabPressedInTable().
ME_DisplayItem * ME_FindItemBackOrHere | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
Definition at line 124 of file list.c.
Referenced by ME_GetParagraph(), and ME_RowStart().
ME_DisplayItem * ME_FindItemFwd | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
Definition at line 134 of file list.c.
Referenced by adjust_para_y(), handle_enter(), ME_AppendTableRow(), ME_ArrowEnd(), ME_ArrowHome(), ME_ArrowPageDown(), ME_ArrowPageUp(), ME_Char(), ME_CheckCharOffsets(), ME_DrawTableBorders(), ME_ExtendAnchorSelection(), ME_FindPixelPos(), ME_FindPixelPosInTableRow(), ME_FindRowWithNumber(), ME_FindRunInRow(), ME_FindText(), ME_GetCharFormat(), ME_GetCursorCoordinates(), ME_GetTableRowEnd(), ME_GetTextW(), ME_HandleMessage(), ME_InsertEndParaFromCursor(), ME_InsertRunAtCursor(), ME_InsertTableRowStartAtParagraph(), ME_InsertTextFromCursor(), ME_InternalDeleteText(), ME_InvalidateSelection(), ME_JoinParagraphs(), ME_MoveCursorChars(), ME_MoveCursorFromTableRowStartParagraph(), ME_MoveCursorLines(), ME_MoveCursorWords(), ME_PropagateCharOffset(), ME_ProtectPartialTableDeletion(), ME_RowNumberFromCharOfs(), ME_RTFSpecialCharHook(), ME_RunOfsFromCharOfs(), ME_SelectByType(), ME_SelectOrInsertNextCell(), ME_SetCharFormat(), ME_SetCursorToStart(), ME_SkipAndPropagateCharOffset(), ME_SplitParagraph(), ME_StreamIn(), ME_StreamOutRTFFontAndColorTbl(), ME_StreamOutText(), ME_UpdateLinkAttribute(), and ME_UpdateSelectionLinkAttribute().
ME_DisplayItem * ME_FindRowWithNumber | ( | ME_TextEditor * | editor, |
int | nRow | ||
) |
Definition at line 44 of file row.c.
Referenced by ME_HandleMessage().
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_GetCursorCoordinates | ( | ME_TextEditor * | editor, |
ME_Cursor * | pCursor, | ||
int * | x, | ||
int * | y, | ||
int * | height | ||
) |
Definition at line 221 of file caret.c.
Referenced by create_caret(), ITextRange_fnScrollIntoView(), and update_caret().
Definition at line 957 of file caret.c.
Referenced by get_unicode_text(), ITextSelection_fnGetText(), ME_Char(), ME_Copy(), ME_ExtendAnchorSelection(), ME_FindText(), ME_GetDataObject(), ME_GetSelection(), ME_GetSelectionOfs(), ME_GetTextLength(), ME_HandleMessage(), ME_InternalDeleteText(), ME_LinkNotify(), ME_MoveCursorChars(), ME_ProtectPartialTableDeletion(), ME_RTFSpecialCharHook(), ME_SetCursor(), ME_StreamIn(), ME_TabPressedInTable(), and ME_UpdateLinkAttribute().
HRESULT ME_GetDataObject | ( | ME_TextEditor * | editor, |
const ME_Cursor * | start, | ||
int | nChars, | ||
LPDATAOBJECT * | lplpdataobj | ||
) |
void ME_GetDefaultCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 790 of file run.c.
Referenced by ME_HandleMessage().
ME_Style * ME_GetInsertStyle | ( | ME_TextEditor * | editor, |
int | nCursor | ||
) |
Definition at line 476 of file style.c.
Referenced by handle_enter(), ITextRange_fnSetText(), ME_Char(), ME_GetSelectionInsertStyle(), ME_HandleMessage(), ME_InsertEndParaFromCursor(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), and ME_SetSelectionCharFormat().
void ME_GetOLEObjectSize | ( | const ME_Context * | c, |
ME_Run * | run, | ||
SIZE * | pSize | ||
) |
Definition at line 5727 of file richole.c.
Referenced by ME_CharFromPointContext(), ME_GetRunSizeCommon(), and ME_PointFromCharContext().
ME_DisplayItem * ME_GetOuterParagraph | ( | ME_DisplayItem * | para | ) |
Definition at line 172 of file table.c.
Referenced by ME_InvalidateParagraphRange().
int ME_GetParaBorderWidth | ( | const ME_Context * | c, |
int | flags | ||
) |
Definition at line 529 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_WrapTextParagraph().
ME_DisplayItem * ME_GetParagraph | ( | ME_DisplayItem * | run | ) |
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().
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().
int ME_GetSelection | ( | ME_TextEditor * | editor, |
ME_Cursor ** | from, | ||
ME_Cursor ** | to | ||
) |
Definition at line 57 of file caret.c.
Referenced by IRichEditOle_fnGetObject(), ITextSelection_fnGetChar(), ITextSelection_fnGetText(), ME_GetInsertStyle(), ME_GetSelectionCharFormat(), ME_SetSelectionCharFormat(), ME_StreamIn(), and ME_UpdateSelectionLinkAttribute().
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().
ME_Style * ME_GetSelectionInsertStyle | ( | ME_TextEditor * | editor | ) |
Definition at line 1593 of file caret.c.
Referenced by ME_HandleMessage(), ME_ReplaceSel(), and ME_StreamIn().
int ME_GetSelectionOfs | ( | ME_TextEditor * | editor, |
int * | from, | ||
int * | to | ||
) |
Definition at line 42 of file caret.c.
Referenced by copy_or_cut(), handle_enter(), IRichEditOle_fnGetClipboardData(), ITextSelection_fnCollapse(), ITextSelection_fnGetEnd(), ITextSelection_fnGetStart(), ITextSelection_fnSetEnd(), ITextSelection_fnSetStart(), ITextSelection_fnSetText(), ME_Char(), ME_DeleteSelection(), ME_DrawRun(), ME_GetSelectionType(), ME_GetTextEx(), ME_HandleMessage(), ME_InvalidateSelection(), ME_ReplaceSel(), ME_SendSelChange(), ME_SetCursor(), ME_ShowContextMenu(), ME_StreamIn(), ME_StreamOut(), and set_selection_cursors().
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_GetTableRowEnd | ( | ME_DisplayItem * | para | ) |
Definition at line 136 of file table.c.
Referenced by ME_AppendTableRow(), ME_BeginRow(), ME_DrawTableBorders(), ME_FindPixelPos(), ME_MoveCursorLines(), ME_ProtectPartialTableDeletion(), ME_SelectOrInsertNextCell(), ME_StreamOutRTFTableProps(), and ME_WrapTextParagraph().
ME_DisplayItem * ME_GetTableRowStart | ( | ME_DisplayItem * | para | ) |
Definition at line 154 of file table.c.
Referenced by ME_AppendTableRow(), ME_GetOuterParagraph(), ME_MoveCursorLines(), ME_SelectOrInsertNextCell(), and ME_StreamOutRTFTableProps().
int ME_GetTextLength | ( | ME_TextEditor * | editor | ) |
Definition at line 83 of file caret.c.
Referenced by cp2range(), fnTextSrv_TxGetText(), fnTextSrv_TxSetText(), handle_enter(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_Char(), ME_FindText(), ME_GetTextLengthEx(), ME_HandleMessage(), ME_InsertTextFromCursor(), ME_InternalDeleteText(), ME_InvalidateSelection(), ME_MoveCursorChars(), ME_RunOfsFromCharOfs(), ME_StreamIn(), ME_StreamOut(), set_selection_cursors(), textrange_get_storylength(), textrange_setend(), and textrange_setstart().
int ME_GetTextLengthEx | ( | ME_TextEditor * | editor, |
const GETTEXTLENGTHEX * | how | ||
) |
Definition at line 91 of file caret.c.
Referenced by ME_HandleMessage().
int ME_GetTextW | ( | ME_TextEditor * | editor, |
WCHAR * | buffer, | ||
int | buflen, | ||
const ME_Cursor * | start, | ||
int | srcChars, | ||
BOOL | bCRLF, | ||
BOOL | bEOP | ||
) |
Definition at line 5192 of file editor.c.
Referenced by fnTextSrv_TxGetText(), get_unicode_text(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_GetTextEx(), ME_GetTextRange(), ME_IsCandidateAnURL(), ME_StreamIn(), and range_GetChar().
LRESULT ME_HandleMessage | ( | ME_TextEditor * | editor, |
UINT | msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
BOOL | unicode, | ||
HRESULT * | phresult | ||
) |
Definition at line 3604 of file editor.c.
Referenced by fnTextSrv_TxSendMessage(), and RichEditWndProc_common().
void ME_HScrollAbs | ( | ME_TextEditor * | editor, |
int | x | ||
) |
Definition at line 1106 of file paint.c.
Referenced by ME_EnsureVisible(), ME_HandleMessage(), ME_ScrollLeft(), ME_ScrollRight(), and ME_UpdateScrollBar().
void ME_InitCharFormat2W | ( | CHARFORMAT2W * | pFmt | ) |
Definition at line 150 of file style.c.
Referenced by ME_CharFormatFromLogFont(), and ME_JoinParagraphs().
void ME_InitContext | ( | ME_Context * | c, |
ME_TextEditor * | editor, | ||
HDC | hDC | ||
) |
Definition at line 23 of file context.c.
Referenced by ME_CharFromPoint(), ME_GetCursorCoordinates(), ME_InvalidateParagraphRange(), ME_MakeFirstParagraph(), ME_PaintContent(), ME_PointFromChar(), ME_WrapMarkedParagraphs(), and stream_out_graphics().
void ME_InitTableDef | ( | ME_TextEditor * | editor, |
struct RTFTable * | tableDef | ||
) |
Definition at line 646 of file table.c.
Referenced by ME_RTFTblAttrHook().
void ME_InsertBefore | ( | ME_DisplayItem * | diWhere, |
ME_DisplayItem * | diWhat | ||
) |
Definition at line 26 of file list.c.
Referenced by ME_InsertRowStart(), ME_InsertRunAtCursor(), ME_MakeFirstParagraph(), ME_SplitParagraph(), and ME_SplitRunSimple().
void ME_InsertEndRowFromCursor | ( | ME_TextEditor * | editor, |
int | nCursor | ||
) |
Definition at line 580 of file caret.c.
Referenced by handle_enter(), and SpecialChar().
void ME_InsertOLEFromCursor | ( | ME_TextEditor * | editor, |
const REOBJECT * | reo, | ||
int | nCursor | ||
) |
Definition at line 546 of file caret.c.
Referenced by insert_static_object(), and IRichEditOle_fnInsertObject().
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().
Definition at line 103 of file string.c.
Referenced by ME_AppendString(), and ME_InsertRunAtCursor().
ME_DisplayItem * ME_InsertTableCellFromCursor | ( | ME_TextEditor * | editor | ) |
Definition at line 121 of file table.c.
Referenced by ME_AppendTableRow(), and ME_RTFSpecialCharHook().
ME_DisplayItem * ME_InsertTableRowEndFromCursor | ( | ME_TextEditor * | editor | ) |
Definition at line 129 of file table.c.
Referenced by ME_AppendTableRow(), and ME_RTFSpecialCharHook().
ME_DisplayItem * ME_InsertTableRowStartAtParagraph | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | para | ||
) |
Definition at line 86 of file table.c.
Referenced by ME_RTFParAttrHook(), and ME_RTFSpecialCharHook().
ME_DisplayItem * ME_InsertTableRowStartFromCursor | ( | ME_TextEditor * | editor | ) |
Definition at line 79 of file table.c.
Referenced by ME_AppendTableRow(), ME_InsertTableRowStartAtParagraph(), and ME_RTFParAttrHook().
void ME_InsertTextFromCursor | ( | ME_TextEditor * | editor, |
int | nCursor, | ||
const WCHAR * | str, | ||
int | len, | ||
ME_Style * | style | ||
) |
Definition at line 595 of file caret.c.
Referenced by fnTextSrv_TxSetText(), handle_enter(), ITextRange_fnSetText(), ME_AppendTableRow(), ME_Char(), ME_HandleMessage(), ME_ReplaceSel(), ME_RTFParAttrHook(), ME_RTFSpecialCharHook(), ME_SetText(), ME_StreamInText(), and RTFFlushUnicodeOutputBuffer().
BOOL ME_InternalDeleteText | ( | ME_TextEditor * | editor, |
ME_Cursor * | start, | ||
int | nChars, | ||
BOOL | bForce | ||
) |
Definition at line 360 of file caret.c.
Referenced by copy_or_cut(), fnTextSrv_TxSetText(), ITextRange_fnSetText(), ME_DeleteTextAtCursor(), ME_HandleMessage(), ME_PlayUndoItem(), ME_ReplaceSel(), ME_RTFSpecialCharHook(), and ME_StreamIn().
void ME_InvalidateParagraphRange | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | start_para, | ||
ME_DisplayItem * | last_para | ||
) |
Definition at line 1168 of file wrap.c.
Referenced by ME_InvalidateSelection(), and ME_WrapMarkedParagraphs().
void ME_InvalidateSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1322 of file paint.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), ME_LButtonDown(), ME_MouseMove(), ME_TabPressedInTable(), and set_selection().
BOOL ME_IsInTable | ( | ME_DisplayItem * | pItem | ) |
Definition at line 273 of file table.c.
Referenced by handle_enter(), ME_Char(), ME_SelectOrInsertNextCell(), ME_StreamIn(), and ME_TabPressedInTable().
BOOL ME_IsSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1578 of file caret.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_Char(), ME_GetInsertStyle(), ME_GetSelectionCharFormat(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_InsertTextFromCursor(), ME_KeyDown(), ME_LButtonDown(), ME_SetCursor(), ME_SetSelectionCharFormat(), ME_TabPressedInTable(), and update_caret().
Definition at line 101 of file editor.h.
Referenced by find_non_whitespace(), ME_UpdateRunFlags(), ME_WordBreakProc(), reverse_find_non_whitespace(), reverse_find_whitespace(), run_is_entirely_ws(), and run_is_splittable().
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_JoinRuns | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | p | ||
) |
Definition at line 229 of file run.c.
Referenced by ME_PrepareParagraphForWrapping().
void ME_LButtonDown | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y, | ||
int | clickNum | ||
) |
Definition at line 1204 of file caret.c.
Referenced by ME_HandleMessage().
ME_DisplayItem * ME_MakeDI | ( | ME_DIType | type | ) |
Definition at line 178 of file list.c.
Referenced by make_para(), ME_MakeRow(), ME_MakeRun(), ME_MakeText(), and ME_SplitParagraph().
ME_TextEditor * ME_MakeEditor | ( | ITextHost * | texthost, |
BOOL | bEmulateVersion10 | ||
) |
Definition at line 3056 of file editor.c.
Referenced by create_windowed_editor(), and CreateTextServices().
void ME_MakeFirstParagraph | ( | ME_TextEditor * | editor | ) |
Definition at line 151 of file para.c.
Referenced by ME_MakeEditor().
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().
Definition at line 41 of file string.c.
Referenced by para_num_init().
Definition at line 58 of file string.c.
Referenced by ME_MakeStringN(), ME_MakeStringR(), and para_num_get_str().
Definition at line 75 of file string.c.
Referenced by ME_MakeFirstParagraph(), and ME_VSplitString().
Definition at line 85 of file string.c.
Referenced by draw_text(), ME_CharFromPointContext(), ME_GetRunSizeCommon(), and ME_PointFromCharContext().
ME_Style * ME_MakeStyle | ( | CHARFORMAT2W * | style | ) |
Definition at line 121 of file style.c.
Referenced by ME_ApplyStyle(), and ME_MakeFirstParagraph().
struct RTFTable * ME_MakeTableDef | ( | ME_TextEditor * | editor | ) |
Definition at line 637 of file table.c.
Referenced by ME_RTFTblAttrHook().
void ME_MarkAllForWrapping | ( | ME_TextEditor * | editor | ) |
Definition at line 236 of file para.c.
Referenced by ME_HandleMessage(), ME_RewrapRepaint(), and ME_SetDefaultCharFormat().
void ME_MouseMove | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y | ||
) |
Definition at line 1266 of file caret.c.
Referenced by ME_HandleMessage().
int ME_MoveCursorChars | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
int | nRelOfs, | ||
BOOL | final_eop | ||
) |
Definition at line 720 of file caret.c.
Referenced by get_textfont_prop_for_pos(), ME_ArrowKey(), ME_FindText(), ME_PlayUndoItem(), ME_ProtectPartialTableDeletion(), ME_StreamIn(), ME_StreamOutRTF(), and set_selection_cursors().
void ME_MoveCursorFromTableRowStartParagraph | ( | ME_TextEditor * | editor | ) |
Definition at line 622 of file table.c.
Referenced by ME_KeyDown(), ME_Redo(), and ME_Undo().
BOOL ME_MoveCursorWords | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
int | nRelOfs | ||
) |
Definition at line 799 of file caret.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_ArrowKey(), ME_ExtendAnchorSelection(), and ME_SelectByType().
BOOL ME_NextRun | ( | ME_DisplayItem ** | para, |
ME_DisplayItem ** | run, | ||
BOOL | all_para | ||
) |
Definition at line 71 of file list.c.
Referenced by ME_FindNextURLCandidate(), ME_FindText(), ME_LinkNotify(), and ME_StreamOutRTF().
void ME_PaintContent | ( | ME_TextEditor * | editor, |
HDC | hDC, | ||
const RECT * | rcUpdate | ||
) |
Definition at line 28 of file paint.c.
Referenced by RichEditWndProc_common().
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().
BOOL ME_PrevRun | ( | ME_DisplayItem ** | para, |
ME_DisplayItem ** | run, | ||
BOOL | all_para | ||
) |
Definition at line 93 of file list.c.
Referenced by ME_FindText(), ME_InsertOLEFromCursor(), ME_InternalDeleteText(), ME_JoinParagraphs(), ME_LinkNotify(), and ME_MoveCursorLines().
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_ProtectPartialTableDeletion | ( | ME_TextEditor * | editor, |
ME_Cursor * | c, | ||
int * | nChars | ||
) |
Definition at line 287 of file table.c.
Referenced by ME_InternalDeleteText().
BOOL ME_Redo | ( | ME_TextEditor * | editor | ) |
Definition at line 453 of file undo.c.
Referenced by ME_HandleMessage(), and ME_KeyDown().
Definition at line 462 of file style.c.
Referenced by destroy_undo_item(), handle_enter(), ITextRange_fnSetText(), ME_Char(), ME_ClearTempStyle(), ME_DestroyDisplayItem(), ME_DestroyEditor(), ME_HandleMessage(), ME_InsertEndParaFromCursor(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_ReplaceSel(), ME_RTFCharAttrHook(), ME_RTFReadHook(), ME_SaveTempStyle(), ME_SetCharFormat(), ME_SetDefaultCharFormat(), ME_SetSelectionCharFormat(), ME_StreamIn(), and para_num_clear().
void ME_Remove | ( | ME_DisplayItem * | diWhere | ) |
Definition at line 35 of file list.c.
Referenced by ME_InternalDeleteText(), ME_JoinParagraphs(), ME_JoinRuns(), and ME_PrepareParagraphForWrapping().
void ME_Repaint | ( | ME_TextEditor * | editor | ) |
Definition at line 106 of file paint.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), ME_RewrapRepaint(), ME_ScrollAbs(), and ME_TabPressedInTable().
Definition at line 3463 of file editor.c.
Referenced by ITextSelection_fnSetText(), and ME_HandleMessage().
void ME_RewrapRepaint | ( | ME_TextEditor * | editor | ) |
Definition at line 142 of file paint.c.
Referenced by ME_HandleMessage(), and ME_SetZoom().
int ME_RowNumberFromCharOfs | ( | ME_TextEditor * | editor, |
int | nOfs | ||
) |
Definition at line 64 of file row.c.
Referenced by ME_HandleMessage().
ME_DisplayItem * ME_RowStart | ( | ME_DisplayItem * | item | ) |
Definition at line 31 of file row.c.
Referenced by ME_HandleMessage().
Definition at line 425 of file editor.c.
Referenced by ControlClass().
Definition at line 556 of file editor.c.
Referenced by ControlClass().
Definition at line 948 of file editor.c.
Referenced by ControlClass(), and ME_StreamIn().
Definition at line 874 of file editor.c.
Referenced by ControlClass().
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_SaveTempStyle | ( | ME_TextEditor * | editor, |
ME_Style * | style | ||
) |
Definition at line 514 of file style.c.
Referenced by handle_enter(), and ME_HandleMessage().
void ME_ScrollAbs | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y | ||
) |
Definition at line 1043 of file paint.c.
Referenced by ITextRange_fnScrollIntoView(), ME_EnsureVisible(), ME_HandleMessage(), ME_HScrollAbs(), and ME_VScrollAbs().
void ME_ScrollDown | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1121 of file paint.c.
Referenced by ME_ArrowPageDown(), and ME_HandleMessage().
void ME_ScrollLeft | ( | ME_TextEditor * | editor, |
int | cx | ||
) |
Definition at line 1126 of file paint.c.
Referenced by ME_HandleMessage().
void ME_ScrollRight | ( | ME_TextEditor * | editor, |
int | cx | ||
) |
Definition at line 1131 of file paint.c.
Referenced by ME_HandleMessage().
void ME_ScrollUp | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1116 of file paint.c.
Referenced by ME_ArrowPageUp(), and ME_HandleMessage().
void ME_SendOldNotify | ( | ME_TextEditor * | editor, |
int | nCode | ||
) |
Definition at line 5175 of file editor.c.
Referenced by ME_HandleMessage(), ME_UpdateRepaint(), and RichEditWndProc_common().
void ME_SendRequestResize | ( | ME_TextEditor * | editor, |
BOOL | force | ||
) |
Definition at line 1198 of file wrap.c.
Referenced by ME_HandleMessage(), ME_KeyDown(), ME_PaintContent(), and ME_StreamIn().
void ME_SendSelChange | ( | ME_TextEditor * | editor | ) |
Definition at line 1598 of file caret.c.
Referenced by ME_ArrowKey(), ME_LButtonDown(), ME_MouseMove(), ME_StreamIn(), ME_TabPressedInTable(), ME_UpdateRepaint(), and set_selection().
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_SetCursorToStart | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 27 of file caret.c.
Referenced by fnTextSrv_TxSetText(), handle_EM_SETCHARFORMAT(), ME_ArrowCtrlHome(), ME_ArrowPageUp(), ME_GetTextEx(), ME_HandleMessage(), ME_MakeEditor(), ME_MoveCursorChars(), ME_MoveCursorLines(), ME_SelectByType(), ME_StreamOut(), ME_WmCreate(), and set_selection_cursors().
void ME_SetDefaultCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | mod | ||
) |
Definition at line 540 of file style.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_HandleMessage(), and ME_MakeFirstParagraph().
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().
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().
BOOL ME_SetSelectionParaFormat | ( | ME_TextEditor * | editor, |
const PARAFORMAT2 * | pFmt | ||
) |
Definition at line 907 of file para.c.
Referenced by ME_HandleMessage(), and SpecialChar().
BOOL ME_SetZoom | ( | ME_TextEditor * | editor, |
int | numerator, | ||
int | denominator | ||
) |
Definition at line 1373 of file paint.c.
Referenced by ME_HandleMessage().
void ME_SkipAndPropagateCharOffset | ( | ME_DisplayItem * | p, |
int | shift | ||
) |
ME_DisplayItem * ME_SplitParagraph | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | rp, | ||
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().
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_StreamInFill | ( | ME_InStream * | stream | ) |
Definition at line 1576 of file editor.c.
Referenced by _RTFGetChar(), ME_StreamIn(), and ME_StreamInText().
LRESULT ME_StreamOut | ( | ME_TextEditor * | editor, |
DWORD | dwFormat, | ||
EDITSTREAM * | stream | ||
) |
Definition at line 1179 of file writer.c.
Referenced by ME_HandleMessage().
LRESULT ME_StreamOutRange | ( | ME_TextEditor * | editor, |
DWORD | dwFormat, | ||
const ME_Cursor * | start, | ||
int | nChars, | ||
EDITSTREAM * | stream | ||
) |
Definition at line 1163 of file writer.c.
Referenced by get_rtf_text(), and ME_StreamOut().
void ME_TabPressedInTable | ( | ME_TextEditor * | editor, |
BOOL | bSelectedRow | ||
) |
Definition at line 562 of file table.c.
Referenced by ME_Char().
Definition at line 226 of file string.c.
Referenced by ME_HandleMessage(), and ME_SetText().
int ME_twips2pointsX | ( | const ME_Context * | c, |
int | x | ||
) |
Definition at line 153 of file paint.c.
Referenced by adjust_para_y(), ME_BeginRow(), ME_DrawTableBorders(), ME_GetRunSizeCommon(), ME_InitContext(), and ME_WrapTextParagraph().
int ME_twips2pointsY | ( | const ME_Context * | c, |
int | y | ||
) |
Definition at line 161 of file paint.c.
Referenced by adjust_para_y(), calc_y_offset(), ME_DrawParaDecoration(), ME_DrawTableBorders(), ME_GetParaLineSpace(), ME_LogFontFromStyle(), and ME_WrapTextParagraph().
BOOL ME_Undo | ( | ME_TextEditor * | editor | ) |
Definition at line 414 of file undo.c.
Referenced by ME_HandleMessage(), and ME_KeyDown().
void ME_UpdateRepaint | ( | ME_TextEditor * | editor, |
BOOL | update_now | ||
) |
Definition at line 116 of file paint.c.
Referenced by copy_or_cut(), fnTextSrv_TxSetText(), handle_enter(), IRichEditOle_fnInsertObject(), ME_Char(), ME_HandleMessage(), ME_KeyDown(), ME_Redo(), ME_ReplaceSel(), ME_StreamIn(), ME_Undo(), and paste_emf().
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().
void ME_UpdateScrollBar | ( | ME_TextEditor * | editor | ) |
Definition at line 1148 of file paint.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_HandleMessage(), ME_Repaint(), ME_RewrapRepaint(), ME_ScrollAbs(), and ME_UpdateRepaint().
void ME_VScrollAbs | ( | ME_TextEditor * | editor, |
int | y | ||
) |
Definition at line 1111 of file paint.c.
Referenced by ME_HandleMessage(), ME_ScrollDown(), ME_ScrollUp(), and ME_UpdateScrollBar().
Definition at line 131 of file string.c.
Referenced by ME_JoinParagraphs(), and ME_SplitParagraph().
BOOL ME_WrapMarkedParagraphs | ( | ME_TextEditor * | editor | ) |
Definition at line 1093 of file wrap.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_HandleMessage(), ME_InvalidateSelection(), ME_Repaint(), ME_RewrapRepaint(), ME_SelectOrInsertNextCell(), ME_UpdateRepaint(), ME_UpdateScrollBar(), and ME_WmCreate().
Definition at line 442 of file para.c.
Referenced by destroy_para(), and para_num_clear_list().
void para_num_init | ( | ME_Context * | c, |
ME_Paragraph * | para | ||
) |
Definition at line 395 of file para.c.
Referenced by ME_WrapTextParagraph().
void remove_marked_para | ( | ME_TextEditor * | editor, |
ME_DisplayItem * | para | ||
) |
Definition at line 82 of file para.c.
Referenced by destroy_para(), and ME_WrapMarkedParagraphs().
void select_style | ( | ME_Context * | c, |
ME_Style * | s | ||
) |
Definition at line 369 of file style.c.
Referenced by draw_para_number(), draw_space(), ME_CharFromPointContext(), ME_DestroyContext(), ME_DrawTextWithStyle(), ME_GetTextExtent(), para_num_init(), and shape_run().
int set_selection | ( | ME_TextEditor * | editor, |
int | to, | ||
int | from | ||
) |
int set_selection_cursors | ( | ME_TextEditor * | editor, |
int | from, | ||
int | to | ||
) |
Definition at line 132 of file caret.c.
Referenced by fnTextSrv_TxSetText(), ME_HandleMessage(), ME_StreamIn(), and set_selection().
void show_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 282 of file caret.c.
Referenced by update_caret().
void update_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 298 of file caret.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), ME_LButtonDown(), ME_MouseMove(), ME_StreamIn(), ME_TabPressedInTable(), ME_WmCreate(), RichEditWndProc_common(), and set_selection().