ReactOS 0.4.16-dev-336-gb667d82
|
#include "editor.h"
Go to the source code of this file.
void create_caret | ( | ME_TextEditor * | editor | ) |
Definition at line 272 of file caret.c.
Referenced by ME_HandleMessage(), and update_caret().
Definition at line 533 of file caret.c.
Referenced by ME_InsertOLEFromCursor().
void hide_caret | ( | ME_TextEditor * | editor | ) |
Definition at line 288 of file caret.c.
Referenced by ME_ArrowKey(), ME_HandleMessage(), and update_caret().
|
static |
Definition at line 1572 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1541 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1547 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1521 of file caret.c.
Referenced by ME_ArrowKey().
BOOL ME_ArrowKey | ( | ME_TextEditor * | editor, |
int | nVKey, | ||
BOOL | extend, | ||
BOOL | ctrl | ||
) |
Definition at line 1630 of file caret.c.
Referenced by ME_KeyDown().
|
static |
Definition at line 1463 of file caret.c.
Referenced by ME_ArrowKey().
|
static |
Definition at line 1409 of file caret.c.
Referenced by ME_ArrowKey().
Definition at line 1122 of file caret.c.
Referenced by ME_HandleMessage(), ME_LinkNotify(), and ME_SetCursor().
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().
|
static |
Definition at line 1152 of file caret.c.
Referenced by ME_LButtonDown(), and ME_MouseMove().
|
static |
Definition at line 1055 of file caret.c.
Referenced by ME_CharFromPos(), ME_LButtonDown(), and ME_MouseMove().
|
static |
Definition at line 964 of file caret.c.
Referenced by ME_FindPixelPos(), and ME_FindPixelPosInTableRow().
|
static |
Definition at line 1002 of file caret.c.
Referenced by ME_ArrowPageDown(), ME_ArrowPageUp(), ME_FindPixelPos(), and ME_MoveCursorLines().
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().
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().
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().
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().
|
static |
Definition at line 1298 of file caret.c.
Referenced by ME_ArrowPageDown(), ME_ArrowPageUp(), and ME_MoveCursorLines().
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().
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().
|
static |
Definition at line 520 of file caret.c.
Referenced by ME_InsertEndRowFromCursor(), ME_InsertOLEFromCursor(), and ME_InsertTextFromCursor().
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().
void ME_LButtonDown | ( | ME_TextEditor * | editor, |
int | x, | ||
int | y, | ||
int | clickNum | ||
) |
Definition at line 1204 of file caret.c.
Referenced by ME_HandleMessage().
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().
|
static |
Definition at line 1323 of file caret.c.
Referenced by ME_ArrowKey().
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().
|
static |
Definition at line 899 of file caret.c.
Referenced by ME_LButtonDown().
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().
|
static |
Definition at line 34 of file caret.c.
Referenced by ME_ArrowCtrlEnd(), ME_ArrowPageDown(), ME_FindPixelPos(), ME_GetTextLength(), ME_MoveCursorChars(), ME_MoveCursorLines(), 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 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().
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 * | editor | ) |
Definition at line 282 of file caret.c.
Referenced by update_caret().
void update_caret | ( | ME_TextEditor * | editor | ) |
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().
WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |