ReactOS 0.4.16-dev-905-gc1b8c4f
|
#include "editor.h"
Go to the source code of this file.
void create_caret | ( | ME_TextEditor * | editor | ) |
Definition at line 251 of file caret.c.
Referenced by editor_handle_message(), and update_caret().
Definition at line 490 of file caret.c.
Referenced by ME_InsertOLEFromCursor().
Definition at line 221 of file caret.c.
Referenced by create_caret(), ITextRange_fnScrollIntoView(), and update_caret().
|
static |
Definition at line 978 of file caret.c.
Referenced by ME_CharFromPos(), ME_LButtonDown(), and ME_MouseMove().
|
static |
Definition at line 1246 of file caret.c.
Referenced by ME_ArrowKey().
void hide_caret | ( | ME_TextEditor * | editor | ) |
Definition at line 267 of file caret.c.
Referenced by editor_handle_message(), ME_ArrowKey(), and update_caret().
|
static |
Definition at line 1395 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1383 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1388 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1376 of file caret.c.
Referenced by ME_ArrowKey().
BOOL ME_ArrowKey | ( | ME_TextEditor * | editor, |
int | nVKey, | ||
BOOL | extend, | ||
BOOL | ctrl | ||
) |
Definition at line 1452 of file caret.c.
Referenced by ME_KeyDown().
|
static |
Definition at line 1345 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1312 of file caret.c.
Referenced by ME_ArrowKey().
Definition at line 1039 of file caret.c.
Referenced by editor_handle_message(), editor_set_cursor(), and link_notify().
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().
|
static |
Definition at line 1069 of file caret.c.
Referenced by ME_LButtonDown(), and ME_MouseMove().
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().
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().
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().
|
static |
Definition at line 1229 of file caret.c.
Referenced by cursor_move_line(), ME_ArrowPageDown(), and ME_ArrowPageUp().
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().
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().
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().
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().
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().
|
static |
Definition at line 841 of file caret.c.
Referenced by ME_LButtonDown().
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().
|
static |
Definition at line 34 of file caret.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), ME_ArrowCtrlEnd(), ME_ArrowPageDown(), ME_GetTextLength(), ME_MoveCursorChars(), ME_SelectByType(), and set_selection_cursors().
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().
|
static |
Definition at line 895 of file caret.c.
Referenced by cursor_from_virtual_coords(), and pixel_pos_in_table_row().
|
static |
Definition at line 933 of file caret.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), ME_ArrowPageDown(), and ME_ArrowPageUp().
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 * | editor | ) |
Definition at line 261 of file caret.c.
Referenced by update_caret().
void update_caret | ( | ME_TextEditor * | editor | ) |
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().
WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |