ReactOS 0.4.15-dev-6068-g8061a6f
|
#include "config.h"
#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/unicode.h"
#include "wine/debug.h"
#include "wine/heap.h"
Go to the source code of this file.
Classes | |
struct | tagLINEDEF |
struct | EDITSTATE |
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 2255 of file edit.c.
Referenced by EDIT_EM_SetMargins(), and EDIT_SetRectNP().
|
static |
Definition at line 430 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_EM_ReplaceSel(), EDIT_EM_SetHandle(), EDIT_EM_SetWordBreakProc(), and EDIT_WM_SetFont().
Definition at line 762 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), and EDIT_WM_SetFont().
|
static |
Definition at line 295 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), EDIT_MoveWordBackward(), EDIT_MoveWordForward(), and EDIT_WM_LButtonDblClk().
Definition at line 785 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 3245 of file edit.c.
Referenced by EDIT_WM_KeyDown(), and EDIT_WM_SysKeyDown().
Definition at line 3131 of file edit.c.
Referenced by EDIT_WM_ContextMenu().
Definition at line 182 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_ContextMenu(), EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 2350 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 193 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 2378 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2400 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2420 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2458 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 4247 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 914 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 943 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 978 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 1654 of file edit.c.
Referenced by EDIT_EM_Scroll(), EDIT_WindowProc(), EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1598 of file edit.c.
Referenced by EDIT_EM_LineScroll(), EDIT_EM_ScrollCaret(), and EDIT_WM_HScroll().
Definition at line 1014 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 2479 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 1669 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_VScroll(), and EditWndProc_common().
Definition at line 1772 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().
Definition at line 2692 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2731 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
|
static |
Definition at line 2767 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_SetFont().
Definition at line 2835 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 1486 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 2864 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
|
static |
Definition at line 2886 of file edit.c.
Referenced by EDIT_WindowProc(), and EditWndProc_common().
Definition at line 2905 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_SysKeyDown(), and EditWndProc_common().
Definition at line 4259 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 1144 of file edit.c.
Referenced by EDIT_ML_InvalidateText(), EDIT_SL_InvalidateText(), and EDIT_WM_Paint().
Definition at line 4330 of file edit.c.
Referenced by EDIT_ImeComposition().
Definition at line 4365 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 1456 of file edit.c.
Referenced by EDIT_EM_SetSel(), EDIT_WM_KillFocus(), and EDIT_WM_SetFocus().
Definition at line 316 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 307 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), and EDIT_InvalidateUniscribeData().
Definition at line 1208 of file edit.c.
Referenced by EDIT_EM_SetHandle(), EDIT_MakeFit(), EDIT_WindowProc(), and EditWndProc_common().
Definition at line 1273 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1314 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
Definition at line 1391 of file edit.c.
Referenced by EDIT_InvalidateText().
Definition at line 1842 of file edit.c.
Referenced by EDIT_WM_Char(), EDIT_WM_KeyDown(), and EDIT_WM_Timer().
Definition at line 1869 of file edit.c.
Referenced by EDIT_WM_Char(), and EDIT_WM_KeyDown().
Definition at line 1891 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 1912 of file edit.c.
Referenced by EDIT_WM_KeyDown(), and EDIT_WM_Timer().
Definition at line 1937 of file edit.c.
Referenced by EDIT_WM_Char(), and EDIT_WM_KeyDown().
Definition at line 1961 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 1989 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2017 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2039 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 2070 of file edit.c.
Referenced by EDIT_WM_KeyDown().
Definition at line 199 of file edit.c.
Referenced by EDIT_WM_Paint().
Definition at line 2174 of file edit.c.
Referenced by EDIT_WM_Paint().
|
static |
Definition at line 2100 of file edit.c.
Referenced by EDIT_PaintLine().
Definition at line 5162 of file edit.c.
Referenced by DllMain().
Definition at line 1747 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 2306 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_Create(), EDIT_WM_SetFont(), EDIT_WM_Size(), and EditWndProc_common().
Definition at line 1373 of file edit.c.
Referenced by EDIT_InvalidateText().
Definition at line 1227 of file edit.c.
Referenced by EDIT_EM_GetHandle(), EDIT_EM_SetHandle(), and EDIT_MakeFit().
Definition at line 1557 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 1356 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 1341 of file edit.c.
Referenced by EDIT_EM_ReplaceSel().
|
static |
Definition at line 373 of file edit.c.
Referenced by EDIT_CalcLineWidth_SL(), EDIT_CharFromPos(), EDIT_EM_PosFromChar(), EDIT_PaintLine(), and EDIT_WM_Paint().
|
static |
Definition at line 331 of file edit.c.
Referenced by EDIT_BuildLineDefs_ML(), and EDIT_UpdateUniscribeData().
|
static |
Definition at line 4608 of file edit.c.