ReactOS
0.4.15-dev-4574-g434cf85
|
Go to the source code of this file.
Classes | |
struct | tagLINEDEF |
struct | EDITSTATE |
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | BUFLIMIT_INITIAL 30000 /* initial buffer size */ |
#define | GROWLENGTH 32 /* buffers granularity in bytes: must be power of 2 */ |
#define | ROUND_TO_GROW(size) (((size) + (GROWLENGTH - 1)) & ~(GROWLENGTH - 1)) |
#define | HSCROLL_FRACTION 3 /* scroll window by 1/3 width */ |
#define | EF_MODIFIED 0x0001 /* text has been modified */ |
#define | EF_FOCUSED 0x0002 /* we have input focus */ |
#define | EF_UPDATE 0x0004 /* notify parent of changed state */ |
#define | EF_VSCROLL_TRACK 0x0008 /* don't SetScrollPos() since we are tracking the thumb */ |
#define | EF_HSCROLL_TRACK 0x0010 /* don't SetScrollPos() since we are tracking the thumb */ |
#define | EF_AFTER_WRAP |
#define | EF_USE_SOFTBRK 0x0100 /* Enable soft breaks in text. */ |
#define | EF_DIALOGMODE 0x0200 /* Indicates that we are inside a dialog window */ |
#define | SWAP_UINT32(x, y) do { UINT temp = (UINT)(x); (x) = (UINT)(y); (y) = temp; } while(0) |
#define | ORDER_UINT(x, y) do { if ((UINT)(y) < (UINT)(x)) SWAP_UINT32((x),(y)); } while(0) |
#define | EDIT_NOTIFY_PARENT(es, wNotifyCode) |
Typedefs | |
typedef struct tagLINEDEF | LINEDEF |
Enumerations | |
enum | LINE_END { END_0 = 0, END_WRAP, END_HARD, END_SOFT, END_RICH, END_0 = 0, END_WRAP, END_HARD, END_SOFT, END_RICH } |
Variables | |
static const WCHAR | empty_stringW [] = {0} |
static const WCHAR | editW [] = {'E','d','i','t',0} |
const struct builtin_class_descr | EDIT_builtin_class |
#define EF_AFTER_WRAP |
#define EF_DIALOGMODE 0x0200 /* Indicates that we are inside a dialog window */ |
#define EF_HSCROLL_TRACK 0x0010 /* don't SetScrollPos() since we are tracking the thumb */ |
#define EF_USE_SOFTBRK 0x0100 /* Enable soft breaks in text. */ |
#define EF_VSCROLL_TRACK 0x0008 /* don't SetScrollPos() since we are tracking the thumb */ |
#define ROUND_TO_GROW | ( | size | ) | (((size) + (GROWLENGTH - 1)) & ~(GROWLENGTH - 1)) |
typedef struct tagLINEDEF LINEDEF |
|
inlinestatic |
Definition at line 4742 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 2358 of file edit.c.
Referenced by EDIT_EM_SetMargins(), and EDIT_SetRectNP().
|
static |
Definition at line 510 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_SetWordBreakProc(), and EDIT_WM_SetFont().
Definition at line 847 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), and EDIT_WM_SetFont().
|
static |
Definition at line 333 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), and EDIT_WM_LButtonDblClk().
Definition at line 870 of file edit.c.
Referenced by EDIT_EM_CharFromPos(), EDIT_MoveDown_ML(), EDIT_MoveEnd(), EDIT_MoveHome(), EDIT_MovePageDown_ML(), EDIT_MovePageUp_ML(), EDIT_MoveUp_ML(), EDIT_WM_LButtonDown(), and EDIT_WM_MouseMove().
Definition at line 3440 of file edit.c.
Referenced by EDIT_WM_KeyDown(), and EDIT_WM_SysKeyDown().
Definition at line 987 of file edit.c.
Referenced by EDIT_WM_LButtonDown(), and EDIT_WM_MouseMove().
Definition at line 3317 of file edit.c.
Referenced by EDIT_WM_ContextMenu().
Definition at line 179 of file edit.c.
Referenced by EDIT_WM_ContextMenu(), EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 2458 of file edit.c.
Definition at line 190 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_Undo(), EDIT_WM_Create(), and EditWndProc_common().
Definition at line 2508 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 2553 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 4396 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 999 of file edit.c.
Referenced by EDIT_EM_CharFromPos(), EDIT_EM_LineLength(), EDIT_EM_PosFromChar(), EDIT_EM_ScrollCaret(), EDIT_ML_InvalidateText(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 1028 of file edit.c.
Referenced by EDIT_EM_GetLine(), EDIT_EM_LineLength(), EDIT_EM_PosFromChar(), EDIT_ML_InvalidateText(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_PaintLine(), EDIT_PaintText(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 1063 of file edit.c.
Referenced by EDIT_EM_GetLine(), EDIT_ML_InvalidateText(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_PaintLine(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 1803 of file edit.c.
Referenced by EDIT_EM_Scroll(), EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1747 of file edit.c.
Referenced by EDIT_EM_LineScroll(), EDIT_EM_ScrollCaret(), and EDIT_WM_HScroll().
Definition at line 1099 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), EDIT_EM_LineScroll_internal(), EDIT_EM_ScrollCaret(), EDIT_GetLineRect(), EDIT_MoveDown_ML(), EDIT_MoveEnd(), EDIT_MoveHome(), EDIT_MovePageDown_ML(), EDIT_MovePageUp_ML(), EDIT_MoveUp_ML(), EDIT_PaintLine(), and EDIT_SetCaretPos().
|
static |
Definition at line 2620 of file edit.c.
Referenced by EDIT_EM_Undo(), EDIT_GetCompositionStr(), EDIT_GetResultStr(), EDIT_ImeComposition(), EDIT_WM_Char(), EDIT_WM_Clear(), EDIT_WM_Create(), EDIT_WM_Paste(), EDIT_WM_SetText(), and EditWndProc_common().
Definition at line 1818 of file edit.c.
Referenced by EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1883 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_Undo(), EDIT_MoveBackward(), EDIT_MoveDown_ML(), EDIT_MoveEnd(), EDIT_MoveForward(), EDIT_MoveHome(), EDIT_MovePageDown_ML(), EDIT_MovePageUp_ML(), EDIT_MoveUp_ML(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_WM_Create(), EDIT_WM_LButtonDblClk(), EDIT_WM_LButtonDown(), EDIT_WM_SetText(), and EditWndProc_common().
Definition at line 2832 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 2908 of file edit.c.
Referenced by EditWndProc_common().
|
static |
Definition at line 2944 of file edit.c.
Referenced by EDIT_WM_SetFont().
Definition at line 3012 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 1640 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_Undo(), EDIT_MoveBackward(), EDIT_MoveDown_ML(), EDIT_MoveEnd(), EDIT_MoveForward(), EDIT_MoveHome(), EDIT_MovePageDown_ML(), EDIT_MovePageUp_ML(), EDIT_MoveUp_ML(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_WM_Char(), EDIT_WM_KeyDown(), EDIT_WM_LButtonDblClk(), EDIT_WM_LButtonDown(), EDIT_WM_MouseMove(), EDIT_WM_SetText(), and EditWndProc_common().
Definition at line 3041 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 3071 of file edit.c.
Referenced by EditWndProc_common().
Definition at line 3090 of file edit.c.
Referenced by EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 4408 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 1229 of file edit.c.
Referenced by EDIT_ML_InvalidateText(), EDIT_SL_InvalidateText(), and EDIT_WM_Paint().
Definition at line 4478 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 4512 of file edit.c.
Definition at line 1610 of file edit.c.
Referenced by EDIT_EM_SetSel(), EDIT_WM_KillFocus(), and EDIT_WM_SetFocus().
Definition at line 381 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_SetPasswordChar(), EDIT_EM_SetTabStops(), EDIT_WM_NCCreate(), EDIT_WM_NCDestroy(), EDIT_WM_Paint(), EDIT_WM_SetFont(), EDIT_WM_SetText(), and text_buffer_changed().
Definition at line 372 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), and EDIT_InvalidateUniscribeData().
Definition at line 1293 of file edit.c.
Referenced by EDIT_EM_SetHandle(), EDIT_MakeFit(), and EditWndProc_common().
Definition at line 1427 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1468 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1545 of file edit.c.
Referenced by EDIT_InvalidateText().
Definition at line 1953 of file edit.c.
Referenced by EDIT_WM_Char(), EDIT_WM_KeyDown(), and EDIT_WM_Timer().
Definition at line 1980 of file edit.c.
Referenced by EDIT_WM_Char(), and EDIT_WM_KeyDown().
Definition at line 2002 of file edit.c.
Referenced by EDIT_WM_KeyDown().