ReactOS 0.4.16-dev-329-g9223134
|
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "imm.h"
#include "usp10.h"
#include "commctrl.h"
#include "uxtheme.h"
#include "vsstyle.h"
#include "wine/debug.h"
#include "wine/heap.h"
Go to the source code of this file.
Classes | |
struct | tagLINEDEF |
struct | EDITSTATE |
struct | char_width_info |
Macros | |
#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 | ID_CB_LISTBOX 1000 |
#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) |
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 } |
#define EF_AFTER_WRAP |
#define EF_HSCROLL_TRACK 0x0010 /* don't SetScrollPos() since we are tracking the thumb */ |
#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 |
Definition at line 2268 of file edit.c.
Referenced by EDIT_EM_SetMargins(), and EDIT_SetRectNP().
|
static |
Definition at line 429 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_SetWordBreakProc(), and EDIT_WM_SetFont().
Definition at line 761 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), and EDIT_WM_SetFont().
|
static |
Definition at line 294 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), and EDIT_WM_LButtonDblClk().
Definition at line 784 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 3281 of file edit.c.
Referenced by EDIT_WM_KeyDown(), and EDIT_WM_SysKeyDown().
Definition at line 3167 of file edit.c.
Referenced by EDIT_WM_ContextMenu().
Definition at line 181 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_ContextMenu(), EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 2363 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 192 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_Undo(), EDIT_WindowProc(), EDIT_WM_Create(), and EditWndProc_common().
Definition at line 2391 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 4342 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 2413 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2433 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2471 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 4306 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 913 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_WindowProc(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 942 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_WindowProc(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 977 of file edit.c.
Referenced by EDIT_EM_GetLine(), EDIT_EM_LineLength(), EDIT_ML_InvalidateText(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), EDIT_PaintLine(), EDIT_WindowProc(), EDIT_WM_LButtonDblClk(), and EditWndProc_common().
Definition at line 1657 of file edit.c.
Referenced by EDIT_EM_Scroll(), EDIT_WindowProc(), EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1601 of file edit.c.
Referenced by EDIT_EM_LineScroll(), EDIT_EM_ScrollCaret(), and EDIT_WM_HScroll().
Definition at line 1013 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(), EDIT_SetCaretPos(), and EDIT_WindowProc().
|
static |
Definition at line 2492 of file edit.c.
Referenced by EDIT_EM_Undo(), EDIT_GetCompositionStr(), EDIT_GetResultStr(), EDIT_ImeComposition(), EDIT_WindowProc(), EDIT_WM_Char(), EDIT_WM_Clear(), EDIT_WM_Create(), EDIT_WM_Paste(), EDIT_WM_SetText(), and EditWndProc_common().
Definition at line 1672 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1780 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_WindowProc(), EDIT_WM_Create(), EDIT_WM_LButtonDblClk(), EDIT_WM_LButtonDown(), EDIT_WM_SetText(), and EditWndProc_common().
|
static |
Definition at line 4325 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 2705 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2744 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
|
static |
Definition at line 2794 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_SetFont().
Definition at line 2866 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 1489 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_WindowProc(), EDIT_WM_Char(), EDIT_WM_KeyDown(), EDIT_WM_LButtonDblClk(), EDIT_WM_LButtonDown(), EDIT_WM_MouseMove(), EDIT_WM_SetText(), and EditWndProc_common().
Definition at line 2895 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
|
static |
Definition at line 2917 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2936 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 4367 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 1147 of file edit.c.
Referenced by EDIT_ML_InvalidateText(), EDIT_SL_InvalidateText(), and EDIT_WM_Paint().
Definition at line 4438 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 4473 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 1459 of file edit.c.
Referenced by EDIT_EM_SetSel(), EDIT_WM_KillFocus(), and EDIT_WM_SetFocus().
Definition at line 315 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 306 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), and EDIT_InvalidateUniscribeData().
Definition at line 1211 of file edit.c.
Referenced by EDIT_EM_SetHandle(), EDIT_MakeFit(), EDIT_WindowProc(), and EditWndProc_common().
Definition at line 1276 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1317 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1394 of file edit.c.
Referenced by EDIT_InvalidateText().
Definition at line 1849 of file edit.c.
Referenced by EDIT_WM_Char(), EDIT_WM_KeyDown(), and EDIT_WM_Timer().
Definition at line 1876 of file edit.c.
Referenced by EDIT_WM_Char(), and EDIT_WM_KeyDown().
Definition at line 1898 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 1919 of file edit.c.
Referenced by EDIT_WM_KeyDown(), and EDIT_WM_Timer().
Definition at line 1944 of file edit.c.
Referenced by EDIT_WM_Char(), and EDIT_WM_KeyDown().
Definition at line 1968 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 1996 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2024 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2046 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2077 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 198 of file edit.c.
Referenced by EDIT_WM_Paint().
Definition at line 2181 of file edit.c.
Referenced by EDIT_WM_Paint().
|
static |
Definition at line 2107 of file edit.c.
Referenced by EDIT_PaintLine().
Definition at line 5279 of file edit.c.
Referenced by DllMain().
Definition at line 1750 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_EM_ScrollCaret(), EDIT_ImeComposition(), EDIT_WM_MouseMove(), EDIT_WM_SetFocus(), and EDIT_WM_SetFont().
Definition at line 2319 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_Create(), EDIT_WM_SetFont(), EDIT_WM_Size(), and EditWndProc_common().
Definition at line 1376 of file edit.c.
Referenced by EDIT_InvalidateText().
Definition at line 1230 of file edit.c.
Referenced by EDIT_EM_GetHandle(), EDIT_EM_SetHandle(), and EDIT_MakeFit().
Definition at line 1560 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_EM_LineScroll_internal(), EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_WM_Create(), EDIT_WM_HScroll(), EDIT_WM_SetText(), and EDIT_WM_VScroll().
Definition at line 1359 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), EDIT_EM_ScrollCaret(), EDIT_EM_SetHandle(), EDIT_EM_SetMargins(), EDIT_EM_SetPasswordChar(), EDIT_EM_SetWordBreakProc(), EDIT_ML_InvalidateText(), EDIT_SL_InvalidateText(), EDIT_WindowProc(), EDIT_WM_SetFont(), EDIT_WM_Size(), and EditWndProc_common().
Definition at line 1344 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
|
static |
Definition at line 372 of file edit.c.
Referenced by EDIT_CalcLineWidth_SL(), EDIT_CharFromPos(), EDIT_EM_PosFromChar(), EDIT_PaintLine(), and EDIT_WM_Paint().
|
static |
Definition at line 330 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), and EDIT_UpdateUniscribeData().
|
static |
Definition at line 4717 of file edit.c.