ReactOS 0.4.16-dev-981-g80eb313
|
#include "editstr.h"
Go to the source code of this file.
Variables | |
HINSTANCE dll_instance | DECLSPEC_HIDDEN |
#define ITextHost2_TxDestroyCaret | ( | This | ) | TXTHOST_VTABLE(This)->TxDestroyCaret(This) |
#define ITextHost2_TxFreeTextServicesNotification | ( | This | ) | TXTHOST_VTABLE(This)->TxFreeTextServicesNotification(This) |
#define ITextHost2_TxGetEastAsianFlags | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetEastAsianFlags(This,a) |
#define ITextHost2_TxGetHorzExtent | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetHorzExtent(This,a) |
#define ITextHost2_TxGetPalette | ( | This | ) | TXTHOST_VTABLE(This)->TxGetPalette(This) |
#define ITextHost2_TxGetWindow | ( | This, | |
a | |||
) | TXTHOST_VTABLE(This)->TxGetWindow(This,a) |
#define ITextHost2_TxIsDoubleClickPending | ( | This | ) | TXTHOST_VTABLE(This)->TxIsDoubleClickPending(This) |
#define ITextHost2_TxSetForegroundWindow | ( | This | ) | TXTHOST_VTABLE(This)->TxSetForegroundWindow(This) |
#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 ITextServices_OnTxInPlaceActivate | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->OnTxInPlaceActivate(This,a) |
#define ITextServices_OnTxInPlaceDeactivate | ( | This | ) | TXTSERV_VTABLE(This)->OnTxInPlaceDeactivate(This) |
#define ITextServices_OnTxUIActivate | ( | This | ) | TXTSERV_VTABLE(This)->OnTxUIActivate(This) |
#define ITextServices_OnTxUIDeactivate | ( | This | ) | TXTSERV_VTABLE(This)->OnTxUIDeactivate(This) |
#define ITextServices_TxGetBaseLinePos | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->TxGetBaseLinePos(This,a) |
#define ITextServices_TxGetCurTargetX | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->TxGetCurTargetX(This,a) |
#define ITextServices_TxGetDropTarget | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->TxGetDropTarget(This,a) |
#define ITextServices_TxGetText | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->TxGetText(This,a) |
#define ITextServices_TxSetText | ( | This, | |
a | |||
) | TXTSERV_VTABLE(This)->TxSetText(This,a) |
#define RUN_IS_HIDDEN | ( | run | ) |
BOOL add_undo_delete_run | ( | ME_TextEditor * | editor, |
int | pos, | ||
int | len | ||
) |
Definition at line 204 of file undo.c.
Referenced by run_insert().
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_PlayUndoItem(), para_join(), and para_set_fmt().
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 para_join().
Definition at line 186 of file table.c.
Referenced by para_split().
ME_Paragraph * cell_end_para | ( | ME_Cell * | cell | ) |
Definition at line 207 of file table.c.
Referenced by adjust_para_y(), cursor_move_line(), draw_table_borders(), editor_draw(), and table_select_next_cell_or_append().
ME_Paragraph * cell_first_para | ( | ME_Cell * | cell | ) |
Definition at line 202 of file table.c.
Referenced by cell_end_para(), cursor_move_line(), draw_table_borders(), editor_draw(), ME_RTFSpecialCharHook(), pixel_pos_in_table_row(), and table_select_next_cell_or_append().
|
inlinestatic |
Definition at line 319 of file editor.h.
Referenced by cell_end_para(), cell_first_para(), para_join(), para_split(), table_outer_para(), table_row_end(), and table_row_start().
Definition at line 192 of file table.c.
Referenced by adjust_para_y(), cell_end_para(), cursor_move_line(), draw_table_borders(), ME_RTFSpecialCharHook(), para_join(), pixel_pos_in_table_row(), stream_out_table_props(), table_append_row(), table_row_end(), table_row_end_cell(), and table_select_next_cell_or_append().
Definition at line 197 of file table.c.
Referenced by adjust_para_y(), cursor_move_line(), ME_BeginRow(), ME_RTFSpecialCharHook(), para_join(), para_split(), and table_row_start().
BOOL cf2w_to_cfany | ( | CHARFORMAT2W * | to, |
const CHARFORMAT2W * | from | ||
) |
Definition at line 79 of file style.c.
Referenced by editor_handle_message().
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 251 of file caret.c.
Referenced by editor_handle_message(), and update_caret().
HRESULT create_text_services | ( | IUnknown * | outer, |
ITextHost * | text_host, | ||
IUnknown ** | unk, | ||
BOOL | emulate_10 | ||
) |
Definition at line 577 of file txtsrv.c.
Referenced by create_windowed_editor(), and CreateTextServices().
Definition at line 221 of file caret.c.
Referenced by create_caret(), ITextRange_fnScrollIntoView(), and update_caret().
void cursor_from_char_ofs | ( | ME_TextEditor * | editor, |
int | char_ofs, | ||
ME_Cursor * | cursor | ||
) |
Definition at line 240 of file run.c.
Referenced by editor_handle_message(), fnTextSrv_TxGetText(), get_textfont_prop_for_pos(), IRichEditOle_fnGetClipboardData(), IRichEditOle_fnGetObject(), ITextRange_fnGetChar(), ITextRange_fnGetText(), ITextRange_fnScrollIntoView(), ITextRange_fnSetText(), ME_FindText(), ME_GetSelectionType(), ME_InternalDeleteText(), ME_PlayUndoItem(), ME_StreamIn(), set_selection_cursors(), set_textfont_prop(), textrange_copy_or_cut(), textrange_endof(), textrange_move(), textrange_moveend(), textrange_movestart(), and textrange_set_font().
Definition at line 30 of file run.c.
Referenced by ME_FindNextURLCandidate(), ME_StreamOutRTF(), run_next(), and run_next_all_paras().
Definition at line 49 of file run.c.
Referenced by run_prev(), and run_prev_all_paras().
Definition at line 47 of file editor.h.
Referenced by itemize_para(), ME_CheckCharOffsets(), ME_DumpDocument(), ME_InternalDeleteText(), ME_MaximizeSplit(), ME_SplitByBacktracking(), and split_run_extents().
Definition at line 5726 of file richole.c.
Referenced by draw_run().
HRESULT editor_copy_or_cut | ( | ME_TextEditor * | editor, |
BOOL | cut, | ||
ME_Cursor * | start, | ||
int | count, | ||
IDataObject ** | data_out | ||
) |
Definition at line 2355 of file editor.c.
Referenced by copy_or_cut(), and textrange_copy_or_cut().
void editor_draw | ( | ME_TextEditor * | editor, |
HDC | hDC, | ||
const RECT * | update | ||
) |
Definition at line 33 of file paint.c.
Referenced by fnTextSrv_TxDraw().
ME_Paragraph * editor_end_para | ( | ME_TextEditor * | editor | ) |
Definition at line 285 of file editor.c.
Referenced by editor_handle_message(), editor_mark_rewrap_all(), ME_ArrowPageDown(), ME_GetTextW(), ME_InvalidateSelection(), and ME_SetCursorToEnd().
void editor_ensure_visible | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 1206 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_MouseMove(), and ME_UpdateRepaint().
ME_Paragraph * editor_first_para | ( | ME_TextEditor * | editor | ) |
Definition at line 279 of file editor.c.
Referenced by cursor_from_char_ofs(), cursor_from_virtual_coords(), editor_draw(), editor_handle_message(), editor_mark_rewrap_all(), handle_enter(), ME_ArrowPageUp(), ME_InvalidateSelection(), ME_SetCursorToStart(), row_from_row_number(), and row_number_from_char_ofs().
void editor_get_selection_para_fmt | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | fmt | ||
) |
Definition at line 905 of file para.c.
Referenced by editor_handle_message(), and ME_RTFParAttrHook().
void editor_get_selection_paras | ( | ME_TextEditor * | editor, |
ME_Paragraph ** | para, | ||
ME_Paragraph ** | para_end | ||
) |
Definition at line 850 of file para.c.
Referenced by editor_get_selection_para_fmt(), editor_set_selection_para_fmt(), and ME_InvalidateSelection().
LRESULT editor_handle_message | ( | ME_TextEditor * | editor, |
UINT | msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
HRESULT * | phresult | ||
) |
Definition at line 3256 of file editor.c.
Referenced by fnTextSrv_TxSendMessage().
void editor_mark_rewrap_all | ( | ME_TextEditor * | editor | ) |
Definition at line 237 of file para.c.
Referenced by editor_handle_message(), fnTextSrv_TxDraw(), fnTextSrv_TxGetNaturalSize(), ME_RewrapRepaint(), and ME_SetDefaultCharFormat().
void editor_propagate_char_ofs | ( | ME_Paragraph * | para, |
ME_Run * | run, | ||
int | shift | ||
) |
Definition at line 147 of file run.c.
Referenced by ME_InternalDeleteText(), para_join(), para_split(), and run_insert().
void editor_set_cursor | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y | ||
) |
Definition at line 2824 of file editor.c.
Referenced by fnTextSrv_OnTxSetCursor().
void editor_set_default_para_fmt | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | pFmt | ||
) |
Definition at line 960 of file para.c.
Referenced by handle_enter(), ME_InternalDeleteText(), ME_StreamIn(), and para_create().
BOOL editor_set_selection_para_fmt | ( | ME_TextEditor * | editor, |
const PARAFORMAT2 * | fmt | ||
) |
Definition at line 875 of file para.c.
Referenced by editor_handle_message(), and SpecialChar().
Definition at line 42 of file editor.h.
Referenced by debugstr_run(), draw_paragraph(), draw_text(), editor_handle_message(), ME_CharFromPointContext(), ME_FindNextURLCandidate(), ME_FindText(), ME_GetRunSizeCommon(), ME_GetTextW(), 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 69 of file para.c.
Referenced by para_destroy(), and wrap_marked_paras_dc().
void hide_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 267 of file caret.c.
Referenced by editor_handle_message(), ME_ArrowKey(), and update_caret().
void link_notify | ( | ME_TextEditor * | editor, |
UINT | msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 3122 of file editor.c.
Referenced by editor_handle_message(), and fnTextSrv_OnTxSetCursor().
Definition at line 454 of file style.c.
Referenced by add_undo_insert_run(), editor_handle_message(), ME_ApplyStyle(), ME_RTFReadHook(), ME_SaveTempStyle(), ME_StreamIn(), para_num_init(), RTFUngetToken(), run_create(), and style_get_insert_style().
Definition at line 126 of file string.c.
Referenced by para_join(), and para_split().
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 1452 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 editor_handle_message().
int ME_CharFromPoint | ( | ME_TextEditor * | editor, |
int | cx, | ||
ME_Run * | run, | ||
BOOL | closest, | ||
BOOL | visual_order | ||
) |
Definition at line 570 of file run.c.
Referenced by row_cursor().
int ME_CharFromPointContext | ( | ME_Context * | c, |
int | cx, | ||
ME_Run * | run, | ||
BOOL | closest, | ||
BOOL | visual_order | ||
) |
Definition at line 511 of file run.c.
Referenced by find_split_point(), and ME_CharFromPoint().
Definition at line 1039 of file caret.c.
Referenced by editor_handle_message(), editor_set_cursor(), and link_notify().
void ME_CheckCharOffsets | ( | ME_TextEditor * | editor | ) |
Definition at line 173 of file run.c.
Referenced by ME_ArrowKey(), ME_InternalDeleteText(), ME_KeyDown(), ME_MakeEditor(), para_join(), run_join(), and split_run_extents().
void ME_ClearTempStyle | ( | ME_TextEditor * | editor | ) |
Definition at line 507 of file style.c.
Referenced by editor_handle_message(), ME_DestroyEditor(), 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(), handle_wm_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 editor_copy_or_cut(), editor_handle_message(), handle_EM_SETCHARFORMAT(), handle_enter(), handle_wm_char(), IRichEditOle_fnInsertObject(), ME_KeyDown(), ME_ReplaceSel(), ME_StreamIn(), 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(), handle_wm_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_GetSelectionCharFormat(), and run_copy_char_fmt().
Definition at line 5829 of file richole.c.
Referenced by create_re_object(), and IRichEditOle_fnGetObject().
Definition at line 5821 of file richole.c.
Referenced by ME_DestroyDisplayItem().
void ME_DeleteSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1406 of file caret.c.
Referenced by editor_handle_message(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_InsertTextFromCursor(), and ME_KeyDown().
BOOL ME_DeleteTextAtCursor | ( | ME_TextEditor * | editor, |
int | nCursor, | ||
int | nChars | ||
) |
Definition at line 481 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 cursor_coords(), editor_draw(), ME_CharFromPoint(), ME_MakeFirstParagraph(), ME_PointFromChar(), stream_out_graphics(), and wrap_marked_paras_dc().
void ME_DestroyDisplayItem | ( | ME_DisplayItem * | item | ) |
Definition at line 115 of file list.c.
Referenced by ME_DestroyEditor(), ME_InternalDeleteText(), ME_PrepareParagraphForWrapping(), para_destroy(), para_join(), and run_join().
void ME_DestroyEditor | ( | ME_TextEditor * | editor | ) |
Definition at line 3066 of file editor.c.
Referenced by ITextServicesImpl_Release().
Definition at line 96 of file string.c.
Referenced by destroy_undo_item(), draw_text(), ME_CharFromPointContext(), ME_GetRunSizeCommon(), ME_PointFromCharContext(), para_destroy(), and para_num_clear().
Definition at line 442 of file style.c.
Referenced by ME_DestroyEditor(), and ME_ReleaseStyle().
void ME_DumpDocument | ( | ME_TextBuffer * | buffer | ) |
Definition at line 142 of file list.c.
Referenced by ME_CheckCharOffsets().
void ME_DumpParaStyle | ( | ME_Paragraph * | s | ) |
void ME_DumpParaStyleToBuf | ( | const PARAFORMAT2 * | pFmt, |
char | buf[2048] | ||
) |
Definition at line 787 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(), editor_handle_message(), fnTextSrv_TxSetText(), ME_DestroyEditor(), ME_ReplaceSel(), and ME_StreamIn().
Definition at line 248 of file string.c.
Referenced by editor_handle_message(), ME_SetText(), and RichEditWndProc_common().
ME_DisplayItem * ME_FindItemBack | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
Definition at line 66 of file list.c.
Referenced by cell_end_para(), para_end_row(), row_end_cursor(), row_from_cursor(), row_next_run(), row_prev_all_paras(), table_outer_para(), and table_row_start().
ME_DisplayItem * ME_FindItemBackOrHere | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
ME_DisplayItem * ME_FindItemFwd | ( | ME_DisplayItem * | di, |
ME_DIType | nTypeOrClass | ||
) |
Definition at line 89 of file list.c.
Referenced by cell_first_para(), ME_CheckCharOffsets(), para_first_row(), row_end_cursor(), row_first_cursor(), row_first_run(), row_next(), row_next_all_paras(), row_next_run(), and table_row_end().
void ME_GetCharFormat | ( | ME_TextEditor * | editor, |
const ME_Cursor * | from, | ||
const ME_Cursor * | to, | ||
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 871 of file run.c.
Referenced by get_textfont_prop_for_pos(), ME_GetSelectionCharFormat(), ME_StreamIn(), and ME_UpdateLinkAttribute().
Definition at line 889 of file caret.c.
Referenced by editor_copy(), editor_handle_message(), editor_set_cursor(), get_unicode_text(), handle_wm_char(), ITextSelection_fnGetText(), link_notify(), ME_ExtendAnchorSelection(), ME_FindText(), ME_GetDataObject(), ME_GetSelection(), ME_GetSelectionOfs(), ME_GetTextLength(), ME_InternalDeleteText(), ME_MoveCursorChars(), ME_RTFSpecialCharHook(), ME_StreamIn(), ME_UpdateLinkAttribute(), row_number_from_char_ofs(), table_handle_tab(), and table_protect_partial_deletion().
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 842 of file run.c.
Referenced by editor_handle_message().
void ME_GetOLEObjectSize | ( | const ME_Context * | c, |
ME_Run * | run, | ||
SIZE * | pSize | ||
) |
Definition at line 5649 of file richole.c.
Referenced by ME_CharFromPointContext(), ME_GetRunSizeCommon(), and ME_PointFromCharContext().
int ME_GetParaBorderWidth | ( | const ME_Context * | c, |
int | flags | ||
) |
Definition at line 537 of file paint.c.
Referenced by ME_DrawParaDecoration(), and ME_WrapTextParagraph().
SIZE ME_GetRunSizeCommon | ( | ME_Context * | c, |
const ME_Paragraph * | para, | ||
ME_Run * | run, | ||
int | nLen, | ||
int | startx, | ||
int * | pAscent, | ||
int * | pDescent | ||
) |
Definition at line 669 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_GetSelectionCharFormat(), ME_SetSelectionCharFormat(), ME_StreamIn(), ME_UpdateSelectionLinkAttribute(), and style_get_insert_style().
void ME_GetSelectionCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 853 of file run.c.
Referenced by editor_handle_message(), ME_KeyDown(), and update_caret().
ME_Style * ME_GetSelectionInsertStyle | ( | ME_TextEditor * | editor | ) |
Definition at line 1415 of file caret.c.
Referenced by editor_handle_message(), 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(), draw_run(), editor_handle_message(), editor_set_cursor(), handle_enter(), handle_wm_char(), IRichEditOle_fnGetClipboardData(), ITextSelection_fnCollapse(), ITextSelection_fnGetEnd(), ITextSelection_fnGetStart(), ITextSelection_fnSetEnd(), ITextSelection_fnSetStart(), ITextSelection_fnSetText(), ME_DeleteSelection(), ME_GetSelectionType(), ME_GetTextEx(), ME_InvalidateSelection(), ME_ReplaceSel(), ME_SendSelChange(), ME_ShowContextMenu(), ME_StreamIn(), ME_StreamOut(), and set_selection_cursors().
int ME_GetTextLength | ( | ME_TextEditor * | editor | ) |
Definition at line 83 of file caret.c.
Referenced by cp2range(), cursor_from_char_ofs(), editor_handle_message(), fnTextSrv_TxGetText(), fnTextSrv_TxSetText(), handle_enter(), handle_wm_char(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_FindText(), ME_GetTextLengthEx(), ME_InsertTextFromCursor(), ME_InternalDeleteText(), ME_InvalidateSelection(), ME_MoveCursorChars(), 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 editor_handle_message().
int ME_GetTextW | ( | ME_TextEditor * | editor, |
WCHAR * | buffer, | ||
int | buflen, | ||
const ME_Cursor * | start, | ||
int | srcChars, | ||
BOOL | bCRLF, | ||
BOOL | bEOP | ||
) |
Definition at line 4310 of file editor.c.
Referenced by fnTextSrv_TxGetText(), get_text_range(), get_unicode_text(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_GetTextEx(), ME_IsCandidateAnURL(), ME_StreamIn(), and range_GetChar().
void ME_InitCharFormat2W | ( | CHARFORMAT2W * | pFmt | ) |
Definition at line 150 of file style.c.
Referenced by ME_CharFormatFromLogFont(), and para_join().
void ME_InitContext | ( | ME_Context * | c, |
ME_TextEditor * | editor, | ||
HDC | hDC | ||
) |
Definition at line 23 of file context.c.
Referenced by cursor_coords(), editor_draw(), ME_CharFromPoint(), ME_MakeFirstParagraph(), ME_PointFromChar(), stream_out_graphics(), and wrap_marked_paras_dc().
void ME_InitTableDef | ( | ME_TextEditor * | editor, |
struct RTFTable * | tableDef | ||
) |
Definition at line 556 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_MakeFirstParagraph(), para_split(), run_insert(), and run_split().
void ME_InsertEndRowFromCursor | ( | ME_TextEditor * | editor, |
int | nCursor | ||
) |
Definition at line 537 of file caret.c.
Referenced by handle_enter(), and SpecialChar().
void ME_InsertOLEFromCursor | ( | ME_TextEditor * | editor, |
const REOBJECT * | reo, | ||
int | nCursor | ||
) |
Definition at line 503 of file caret.c.
Referenced by insert_static_object(), and IRichEditOle_fnInsertObject().
Definition at line 103 of file string.c.
Referenced by ME_AppendString(), and run_insert().
void ME_InsertTextFromCursor | ( | ME_TextEditor * | editor, |
int | nCursor, | ||
const WCHAR * | str, | ||
int | len, | ||
ME_Style * | style | ||
) |
Definition at line 553 of file caret.c.
Referenced by editor_handle_message(), fnTextSrv_TxSetText(), handle_enter(), handle_wm_char(), ITextRange_fnSetText(), ME_ReplaceSel(), ME_RTFParAttrHook(), ME_RTFSpecialCharHook(), ME_SetText(), ME_StreamInText(), RTFFlushUnicodeOutputBuffer(), and table_append_row().
BOOL ME_InternalDeleteText | ( | ME_TextEditor * | editor, |
ME_Cursor * | start, | ||
int | nChars, | ||
BOOL | bForce | ||
) |
Definition at line 339 of file caret.c.
Referenced by editor_copy_or_cut(), editor_handle_message(), fnTextSrv_TxSetText(), ITextRange_fnSetText(), ME_DeleteTextAtCursor(), ME_PlayUndoItem(), ME_ReplaceSel(), ME_RTFSpecialCharHook(), and ME_StreamIn().
void ME_InvalidateSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1247 of file paint.c.
Referenced by editor_handle_message(), fnTextSrv_OnTxPropertyBitsChange(), ME_ArrowKey(), ME_LButtonDown(), ME_MouseMove(), set_selection(), and table_handle_tab().
BOOL ME_IsSelection | ( | ME_TextEditor * | editor | ) |
Definition at line 1400 of file caret.c.
Referenced by editor_set_cursor(), handle_EM_SETCHARFORMAT(), handle_wm_char(), ME_GetSelectionCharFormat(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_InsertTextFromCursor(), ME_KeyDown(), ME_LButtonDown(), ME_SetSelectionCharFormat(), style_get_insert_style(), table_handle_tab(), and update_caret().
Definition at line 99 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().
void ME_LButtonDown | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y, | ||
int | clickNum | ||
) |
Definition at line 1137 of file caret.c.
Referenced by editor_handle_message().
ME_DisplayItem * ME_MakeDI | ( | ME_DIType | type | ) |
Definition at line 133 of file list.c.
Referenced by cell_create(), ME_MakeText(), para_create(), row_create(), and run_create().
ME_TextEditor * ME_MakeEditor | ( | ITextHost * | texthost, |
BOOL | bEmulateVersion10 | ||
) |
Definition at line 2933 of file editor.c.
Referenced by create_text_services().
void ME_MakeFirstParagraph | ( | ME_TextEditor * | editor | ) |
Definition at line 151 of file para.c.
Referenced by ME_MakeEditor().
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 547 of file table.c.
Referenced by ME_RTFTblAttrHook().
void ME_MouseMove | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y | ||
) |
Definition at line 1199 of file caret.c.
Referenced by editor_handle_message().
int ME_MoveCursorChars | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
int | nRelOfs, | ||
BOOL | final_eop | ||
) |
Definition at line 678 of file caret.c.
Referenced by get_textfont_prop_for_pos(), ME_ArrowKey(), ME_FindText(), ME_PlayUndoItem(), ME_StreamIn(), ME_StreamOutRTF(), set_selection_cursors(), table_protect_partial_deletion(), textrange_endof(), textrange_move(), textrange_moveend(), and textrange_movestart().
BOOL ME_MoveCursorWords | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
int | nRelOfs | ||
) |
Definition at line 758 of file caret.c.
Referenced by handle_EM_SETCHARFORMAT(), ME_ArrowKey(), ME_ExtendAnchorSelection(), and ME_SelectByType().
int ME_PointFromChar | ( | ME_TextEditor * | editor, |
ME_Run * | pRun, | ||
int | nOffset, | ||
BOOL | visual_order | ||
) |
Definition at line 649 of file run.c.
Referenced by editor_ensure_visible(), editor_handle_message(), and ME_GetXForArrow().
int ME_PointFromCharContext | ( | ME_Context * | c, |
ME_Run * | pRun, | ||
int | nOffset, | ||
BOOL | visual_order | ||
) |
Definition at line 608 of file run.c.
Referenced by cursor_coords(), get_selection_rect(), ME_InsertRowStart(), and ME_PointFromChar().
BOOL ME_Redo | ( | ME_TextEditor * | editor | ) |
Definition at line 448 of file undo.c.
Referenced by editor_handle_message(), and ME_KeyDown().
Definition at line 462 of file style.c.
Referenced by destroy_undo_item(), editor_handle_message(), handle_enter(), handle_wm_char(), ITextRange_fnSetText(), ME_ClearTempStyle(), ME_DestroyDisplayItem(), ME_DestroyEditor(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_ReplaceSel(), ME_RTFCharAttrHook(), ME_RTFReadHook(), ME_SaveTempStyle(), ME_SetCharFormat(), ME_SetDefaultCharFormat(), ME_SetSelectionCharFormat(), ME_StreamIn(), para_num_clear(), and table_insert_end_para().
void ME_Remove | ( | ME_DisplayItem * | diWhere | ) |
Definition at line 35 of file list.c.
Referenced by ME_InternalDeleteText(), ME_PrepareParagraphForWrapping(), para_join(), and run_join().
void ME_Repaint | ( | ME_TextEditor * | editor | ) |
Definition at line 119 of file paint.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_RewrapRepaint(), scroll_abs(), and table_handle_tab().
Definition at line 3161 of file editor.c.
Referenced by editor_handle_message(), and ITextSelection_fnSetText().
void ME_RewrapRepaint | ( | ME_TextEditor * | editor | ) |
Definition at line 156 of file paint.c.
Referenced by editor_handle_message(), fnTextSrv_OnTxInPlaceActivate(), fnTextSrv_OnTxPropertyBitsChange(), and ME_SetZoom().
Definition at line 428 of file editor.c.
Referenced by ControlClass().
Definition at line 559 of file editor.c.
Referenced by ControlClass().
Definition at line 946 of file editor.c.
Referenced by ControlClass(), and ME_StreamIn().
Definition at line 872 of file editor.c.
Referenced by ControlClass().
void ME_SaveTempStyle | ( | ME_TextEditor * | editor, |
ME_Style * | style | ||
) |
Definition at line 498 of file style.c.
Referenced by editor_handle_message(), and handle_enter().
void ME_ScrollDown | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1132 of file paint.c.
Referenced by editor_handle_message(), and ME_ArrowPageDown().
void ME_ScrollLeft | ( | ME_TextEditor * | editor, |
int | cx | ||
) |
Definition at line 1137 of file paint.c.
Referenced by editor_handle_message().
void ME_ScrollRight | ( | ME_TextEditor * | editor, |
int | cx | ||
) |
Definition at line 1142 of file paint.c.
Referenced by editor_handle_message().
void ME_ScrollUp | ( | ME_TextEditor * | editor, |
int | cy | ||
) |
Definition at line 1127 of file paint.c.
Referenced by editor_handle_message(), and ME_ArrowPageUp().
void ME_SendRequestResize | ( | ME_TextEditor * | editor, |
BOOL | force | ||
) |
Definition at line 1128 of file wrap.c.
Referenced by editor_draw(), editor_handle_message(), ME_KeyDown(), and ME_StreamIn().
void ME_SendSelChange | ( | ME_TextEditor * | editor | ) |
Definition at line 1420 of file caret.c.
Referenced by ME_ArrowKey(), ME_LButtonDown(), ME_MouseMove(), ME_StreamIn(), ME_UpdateRepaint(), set_selection(), and table_handle_tab().
void ME_SetCharFormat | ( | ME_TextEditor * | editor, |
ME_Cursor * | start, | ||
ME_Cursor * | end, | ||
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 777 of file run.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), ME_PlayUndoItem(), ME_SetSelectionCharFormat(), ME_UpdateLinkAttribute(), para_join(), 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 cursor_move_line(), editor_handle_message(), fnTextSrv_TxSetText(), handle_EM_SETCHARFORMAT(), ME_ArrowCtrlHome(), ME_ArrowPageUp(), ME_GetTextEx(), ME_MakeEditor(), ME_MoveCursorChars(), ME_SelectByType(), ME_StreamOut(), and set_selection_cursors().
void ME_SetDefaultCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | mod | ||
) |
Definition at line 524 of file style.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), and ME_MakeFirstParagraph().
void ME_SetSelectionCharFormat | ( | ME_TextEditor * | editor, |
CHARFORMAT2W * | pFmt | ||
) |
Definition at line 748 of file run.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), and ME_StreamIn().
BOOL ME_SetZoom | ( | ME_TextEditor * | editor, |
int | numerator, | ||
int | denominator | ||
) |
Definition at line 1304 of file paint.c.
Referenced by editor_handle_message().
void ME_StreamInFill | ( | ME_InStream * | stream | ) |
Definition at line 1566 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 1195 of file writer.c.
Referenced by editor_handle_message().
LRESULT ME_StreamOutRange | ( | ME_TextEditor * | editor, |
DWORD | dwFormat, | ||
const ME_Cursor * | start, | ||
int | nChars, | ||
EDITSTREAM * | stream | ||
) |
Definition at line 1179 of file writer.c.
Referenced by get_rtf_text(), and ME_StreamOut().
Definition at line 226 of file string.c.
Referenced by editor_handle_message(), ME_SetText(), and RichEditWndProc_common().
int ME_twips2pointsX | ( | const ME_Context * | c, |
int | x | ||
) |
Definition at line 167 of file paint.c.
Referenced by adjust_para_y(), draw_table_borders(), ME_BeginRow(), ME_GetRunSizeCommon(), ME_InitContext(), and ME_WrapTextParagraph().
int ME_twips2pointsY | ( | const ME_Context * | c, |
int | y | ||
) |
Definition at line 175 of file paint.c.
Referenced by adjust_para_y(), calc_y_offset(), draw_table_borders(), ME_DrawParaDecoration(), ME_GetParaLineSpace(), ME_LogFontFromStyle(), and ME_WrapTextParagraph().
BOOL ME_Undo | ( | ME_TextEditor * | editor | ) |
Definition at line 410 of file undo.c.
Referenced by editor_handle_message(), and ME_KeyDown().
void ME_UpdateRepaint | ( | ME_TextEditor * | editor, |
BOOL | update_now | ||
) |
Definition at line 129 of file paint.c.
Referenced by editor_copy_or_cut(), editor_handle_message(), fnTextSrv_TxSetText(), handle_enter(), handle_wm_char(), IRichEditOle_fnInsertObject(), 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 462 of file run.c.
Referenced by ME_SplitByBacktracking(), ME_WrapSizeRun(), run_join(), and run_split().
void ME_UpdateScrollBar | ( | ME_TextEditor * | editor | ) |
Definition at line 1147 of file paint.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), ME_Repaint(), ME_RewrapRepaint(), ME_UpdateRepaint(), and scroll_abs().
Definition at line 131 of file string.c.
Referenced by para_join(), and para_split().
BOOL ME_WrapMarkedParagraphs | ( | ME_TextEditor * | editor | ) |
Definition at line 1094 of file wrap.c.
Referenced by editor_handle_message(), handle_EM_SETCHARFORMAT(), ME_InvalidateSelection(), ME_Repaint(), ME_RewrapRepaint(), ME_UpdateRepaint(), ME_UpdateScrollBar(), and table_select_next_cell_or_append().
ME_Cell * para_cell | ( | ME_Paragraph * | para | ) |
Definition at line 127 of file para.c.
Referenced by adjust_para_y(), cursor_move_line(), draw_paragraph(), draw_table_borders(), editor_draw(), ME_BeginRow(), ME_PlayUndoItem(), ME_RTFSpecialCharHook(), ME_WrapTextParagraph(), para_split(), pixel_pos_in_table_row(), stream_out_font_and_colour_tbls(), table_append_row(), table_insert_row_start_at_para(), table_outer_para(), table_protect_partial_deletion(), table_row_end(), table_row_end_cell(), table_row_first_cell(), table_row_start(), table_select_next_cell_or_append(), and table_update_flags().
void para_destroy | ( | ME_TextEditor * | editor, |
ME_Paragraph * | item | ||
) |
Definition at line 42 of file para.c.
Referenced by ME_DestroyEditor(), and para_join().
ME_Row * para_end_row | ( | ME_Paragraph * | para | ) |
Definition at line 141 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), and ME_ArrowPageDown().
ME_Run * para_end_run | ( | ME_Paragraph * | para | ) |
Definition at line 117 of file para.c.
Referenced by editor_handle_message(), handle_enter(), ME_ExtendAnchorSelection(), ME_GetTextW(), ME_InsertTextFromCursor(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_SelectByType(), ME_SetCursorToEnd(), para_join(), table_append_row(), table_protect_partial_deletion(), and table_select_next_cell_or_append().
ME_Row * para_first_row | ( | ME_Paragraph * | para | ) |
Definition at line 132 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), draw_table_borders(), editor_handle_message(), ME_ArrowPageUp(), row_from_row_number(), and row_number_from_char_ofs().
ME_Run * para_first_run | ( | ME_Paragraph * | para | ) |
Definition at line 104 of file para.c.
Referenced by cursor_from_char_ofs(), draw_table_borders(), handle_enter(), handle_wm_char(), itemize_para(), ME_ExtendAnchorSelection(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_RTFSpecialCharHook(), ME_SelectByType(), ME_SetCursorToStart(), ME_StreamIn(), ME_UpdateSelectionLinkAttribute(), ME_WrapTextParagraph(), para_join(), shape_para(), table_append_row(), table_insert_end_para(), table_insert_row_start_at_para(), table_move_from_row_start(), table_protect_partial_deletion(), and table_select_next_cell_or_append().
|
inlinestatic |
Definition at line 237 of file editor.h.
Referenced by draw_paragraph(), ME_MakeFirstParagraph(), ME_PrepareParagraphForWrapping(), para_destroy(), para_end_row(), para_first_row(), para_first_run(), para_join(), and para_split().
BOOL para_in_table | ( | ME_Paragraph * | para | ) |
Definition at line 122 of file para.c.
Referenced by draw_table_borders(), handle_enter(), handle_wm_char(), ME_BeginRow(), ME_RTFSpecialCharHook(), ME_StreamIn(), ME_StreamOutRTF(), table_append_row(), table_handle_tab(), table_protect_partial_deletion(), table_row_end_cell(), table_row_first_cell(), table_select_next_cell_or_append(), and wrap_marked_paras_dc().
ME_Paragraph * para_join | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para, | ||
BOOL | use_first_fmt | ||
) |
Definition at line 683 of file para.c.
Referenced by ME_InternalDeleteText(), and ME_PlayUndoItem().
void para_mark_add | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 99 of file para.c.
Referenced by ME_MakeFirstParagraph(), and para_mark_rewrap().
void para_mark_remove | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 94 of file para.c.
Referenced by para_destroy().
void para_mark_rewrap | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 26 of file para.c.
Referenced by handle_enter(), ME_InternalDeleteText(), ME_PlayUndoItem(), ME_SetCharFormat(), para_join(), para_mark_rewrap_paras(), para_num_clear_list(), para_set_fmt(), para_split(), run_insert(), run_join(), and run_split().
ME_Paragraph * para_next | ( | ME_Paragraph * | para | ) |
Definition at line 57 of file para.c.
Referenced by adjust_para_y(), cursor_from_char_ofs(), cursor_from_virtual_coords(), cursor_move_line(), draw_paragraph(), draw_table_borders(), editor_draw(), editor_first_para(), editor_get_selection_para_fmt(), editor_handle_message(), editor_propagate_char_ofs(), editor_set_selection_para_fmt(), get_unicode_text(), handle_enter(), handle_wm_char(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_InternalDeleteText(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_RTFParAttrHook(), ME_RTFSpecialCharHook(), ME_StreamIn(), ME_UpdateSelectionLinkAttribute(), para_end_row(), para_join(), para_mark_rewrap_paras(), para_split(), pixel_pos_in_table_row(), range_GetChar(), row_from_row_number(), row_number_from_char_ofs(), table_append_row(), table_insert_row_start_at_para(), table_move_from_row_start(), table_protect_partial_deletion(), table_row_end(), table_row_first_cell(), table_select_next_cell_or_append(), and wrap_marked_paras_dc().
Definition at line 436 of file para.c.
Referenced by para_destroy(), and para_num_clear_list().
void para_num_init | ( | ME_Context * | c, |
ME_Paragraph * | para | ||
) |
Definition at line 392 of file para.c.
Referenced by ME_WrapTextParagraph().
ME_Paragraph * para_prev | ( | ME_Paragraph * | para | ) |
Definition at line 63 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), editor_get_selection_paras(), editor_handle_message(), handle_enter(), handle_wm_char(), ME_ArrowPageDown(), ME_GetTextW(), ME_InsertTextFromCursor(), ME_InvalidateSelection(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_SetCursorToEnd(), ME_UpdateSelectionLinkAttribute(), para_split(), pixel_pos_in_table_row(), stream_out_para_props(), table_insert_row_end(), table_insert_row_start(), table_outer_para(), table_protect_partial_deletion(), table_row_end_cell(), table_row_start(), and table_select_next_cell_or_append().
void para_range_invalidate | ( | ME_TextEditor * | editor, |
ME_Paragraph * | start_para, | ||
ME_Paragraph * | last_para | ||
) |
Definition at line 1102 of file wrap.c.
Referenced by ME_InvalidateSelection(), and wrap_marked_paras_dc().
ME_Paragraph * para_split | ( | ME_TextEditor * | editor, |
ME_Run * | run, | ||
ME_Style * | style, | ||
const WCHAR * | eol_str, | ||
int | eol_len, | ||
int | paraFlags | ||
) |
Definition at line 540 of file para.c.
Referenced by ME_InsertTextFromCursor(), ME_PlayUndoItem(), and table_insert_end_para().
void richole_release_children | ( | struct text_services * | services | ) |
Definition at line 5853 of file richole.c.
Referenced by ITextServicesImpl_Release().
Definition at line 92 of file row.c.
Referenced by editor_handle_message(), ME_ArrowEnd(), ME_ExtendAnchorSelection(), ME_SelectByType(), and row_number_from_char_ofs().
Definition at line 82 of file row.c.
Referenced by editor_handle_message(), ME_ArrowHome(), ME_ExtendAnchorSelection(), ME_SelectByType(), and row_para().
Definition at line 74 of file row.c.
Referenced by cursor_coords(), cursor_move_line(), draw_run(), editor_ensure_visible(), editor_handle_message(), ME_ArrowEnd(), ME_ArrowHome(), ME_ArrowPageDown(), ME_ArrowPageUp(), ME_ExtendAnchorSelection(), and ME_SelectByType().
ME_Row * row_from_row_number | ( | ME_TextEditor * | editor, |
int | row_num | ||
) |
Definition at line 111 of file row.c.
Referenced by editor_handle_message().
|
inlinestatic |
Definition at line 126 of file editor.h.
Referenced by ME_InsertRowStart(), row_end_cursor(), row_first_cursor(), row_first_run(), row_next(), row_next_all_paras(), and row_prev_all_paras().
Definition at line 27 of file row.c.
Referenced by cursor_from_virtual_coords(), editor_handle_message(), row_from_row_number(), and row_number_from_char_ofs().
Definition at line 36 of file row.c.
Referenced by cursor_move_line(), and ME_ArrowPageDown().
Definition at line 63 of file row.c.
Referenced by editor_handle_message(), and row_cursor().
int row_number_from_char_ofs | ( | ME_TextEditor * | editor, |
int | ofs | ||
) |
Definition at line 131 of file row.c.
Referenced by editor_handle_message().
ME_Paragraph * row_para | ( | ME_Row * | row | ) |
Definition at line 103 of file row.c.
Referenced by cursor_move_line(), ME_ArrowPageDown(), and ME_ArrowPageUp().
Definition at line 45 of file row.c.
Referenced by cursor_move_line(), and ME_ArrowPageUp().
Definition at line 228 of file run.c.
Referenced by draw_run().
Definition at line 343 of file run.c.
Referenced by ME_MakeFirstParagraph(), para_split(), run_insert(), and run_split().
|
inlinestatic |
Definition at line 163 of file editor.h.
Referenced by cursor_next_run(), cursor_prev_run(), ME_InsertRowStart(), ME_InternalDeleteText(), ME_MakeFirstParagraph(), para_join(), para_split(), row_from_cursor(), row_next_run(), run_insert(), run_join(), and run_split().
ME_Run * run_insert | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor, | ||
ME_Style * | style, | ||
const WCHAR * | str, | ||
int | len, | ||
int | flags | ||
) |
Definition at line 375 of file run.c.
Referenced by ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_InsertTextFromCursor(), and ME_PlayUndoItem().
void run_join | ( | ME_TextEditor * | editor, |
ME_Run * | run | ||
) |
Definition at line 273 of file run.c.
Referenced by ME_PrepareParagraphForWrapping().
Definition at line 68 of file run.c.
Referenced by cursor_from_char_ofs(), editor_propagate_char_ofs(), itemize_para(), layout_row(), link_notify(), ME_InsertRowStart(), ME_InsertTextFromCursor(), ME_InternalDeleteText(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_WrapHandleRun(), para_join(), para_split(), run_join(), shape_para(), table_protect_partial_deletion(), and table_select_next_cell_or_append().
Definition at line 96 of file run.c.
Referenced by ME_FindText(), ME_GetCharFormat(), ME_GetTextW(), ME_SetCharFormat(), ME_StreamOutText(), ME_UpdateLinkAttribute(), run_insert(), stream_out_font_and_colour_tbls(), and table_select_next_cell_or_append().
Definition at line 82 of file run.c.
Referenced by cursor_coords(), layout_row(), link_notify(), ME_GetCharFormat(), ME_InsertRowStart(), ME_InsertTextFromCursor(), ME_MaximizeSplit(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_WrapHandleRun(), style_get_insert_style(), and table_handle_tab().
Definition at line 110 of file run.c.
Referenced by editor_handle_message(), ME_FindText(), ME_GetCharFormat(), ME_InsertOLEFromCursor(), ME_InternalDeleteText(), and run_insert().
ME_Run * run_split | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 305 of file run.c.
Referenced by itemize_para(), ME_InsertTextFromCursor(), ME_PlayUndoItem(), ME_SetCharFormat(), run_insert(), split_run_extents(), and table_insert_end_para().
void scroll_abs | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y, | ||
BOOL | notify | ||
) |
Definition at line 1087 of file paint.c.
Referenced by editor_ensure_visible(), editor_handle_message(), ITextRange_fnScrollIntoView(), scroll_h_abs(), and scroll_v_abs().
void scroll_h_abs | ( | ME_TextEditor * | editor, |
int | x, | ||
BOOL | notify | ||
) |
Definition at line 1117 of file paint.c.
Referenced by editor_ensure_visible(), editor_handle_message(), ME_ScrollLeft(), ME_ScrollRight(), and ME_UpdateScrollBar().
void scroll_v_abs | ( | ME_TextEditor * | editor, |
int | y, | ||
BOOL | notify | ||
) |
Definition at line 1122 of file paint.c.
Referenced by editor_handle_message(), ME_ScrollDown(), ME_ScrollUp(), and ME_UpdateScrollBar().
void select_style | ( | ME_Context * | c, |
ME_Style * | s | ||
) |
Definition at line 369 of file style.c.
Referenced by draw_para_number(), draw_space(), draw_text_with_style(), ME_CharFromPointContext(), ME_DestroyContext(), 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 editor_handle_message(), fnTextSrv_TxSetText(), ME_StreamIn(), and set_selection().
void show_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 261 of file caret.c.
Referenced by update_caret().
ME_Style * style_get_insert_style | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 476 of file style.c.
Referenced by editor_handle_message(), handle_enter(), handle_wm_char(), ITextRange_fnSetText(), ME_GetSelectionInsertStyle(), ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), ME_SetSelectionCharFormat(), and table_insert_end_para().
ME_Paragraph * table_append_row | ( | ME_TextEditor * | editor, |
ME_Paragraph * | table_row | ||
) |
Definition at line 327 of file table.c.
Referenced by handle_enter(), and table_select_next_cell_or_append().
void table_handle_tab | ( | ME_TextEditor * | editor, |
BOOL | selected_row | ||
) |
Definition at line 473 of file table.c.
Referenced by handle_wm_char().
ME_Paragraph * table_insert_cell | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 112 of file table.c.
Referenced by ME_RTFSpecialCharHook(), and table_append_row().
ME_Paragraph * table_insert_row_end | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 119 of file table.c.
Referenced by ME_RTFSpecialCharHook(), and table_append_row().
ME_Paragraph * table_insert_row_start | ( | ME_TextEditor * | editor, |
ME_Cursor * | cursor | ||
) |
Definition at line 72 of file table.c.
Referenced by ME_RTFParAttrHook(), table_append_row(), and table_insert_row_start_at_para().
ME_Paragraph * table_insert_row_start_at_para | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 80 of file table.c.
Referenced by ME_RTFParAttrHook(), and ME_RTFSpecialCharHook().
void table_move_from_row_start | ( | ME_TextEditor * | editor | ) |
ME_Paragraph * table_outer_para | ( | ME_Paragraph * | para | ) |
Definition at line 158 of file table.c.
Referenced by para_range_invalidate(), and wrap_marked_paras_dc().
void table_protect_partial_deletion | ( | ME_TextEditor * | editor, |
ME_Cursor * | c, | ||
int * | num_chars | ||
) |
Definition at line 217 of file table.c.
Referenced by ME_InternalDeleteText().
ME_Paragraph * table_row_end | ( | ME_Paragraph * | para | ) |
Definition at line 127 of file table.c.
Referenced by adjust_para_y(), cursor_from_virtual_coords(), cursor_move_line(), draw_table_borders(), ME_BeginRow(), ME_WrapTextParagraph(), pixel_pos_in_table_row(), stream_out_table_props(), table_append_row(), table_protect_partial_deletion(), table_row_end_cell(), and table_select_next_cell_or_append().
ME_Cell * table_row_end_cell | ( | ME_Paragraph * | para | ) |
Definition at line 178 of file table.c.
Referenced by adjust_para_y(), cursor_move_line(), draw_paragraph(), draw_table_borders(), and ME_BeginRow().
ME_Cell * table_row_first_cell | ( | ME_Paragraph * | para | ) |
Definition at line 170 of file table.c.
Referenced by adjust_para_y(), cursor_move_line(), draw_paragraph(), ME_RTFSpecialCharHook(), pixel_pos_in_table_row(), stream_out_table_props(), and table_append_row().
ME_Paragraph * table_row_start | ( | ME_Paragraph * | para | ) |
Definition at line 142 of file table.c.
Referenced by adjust_para_y(), cursor_move_line(), table_outer_para(), table_row_first_cell(), and table_select_next_cell_or_append().
void update_caret | ( | ME_TextEditor * | ed | ) |
Definition at line 277 of file caret.c.
Referenced by editor_handle_message(), ME_ArrowKey(), ME_LButtonDown(), ME_MouseMove(), ME_UpdateRepaint(), set_selection(), and table_handle_tab().
BOOL wrap_marked_paras_dc | ( | ME_TextEditor * | editor, |
HDC | hdc, | ||
BOOL | invalidate | ||
) |
Definition at line 1023 of file wrap.c.
Referenced by fnTextSrv_TxDraw(), fnTextSrv_TxGetNaturalSize(), and ME_WrapMarkedParagraphs().