ReactOS 0.4.16-dev-197-g92996da
|
#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.
Referenced by EDIT_Register().
Definition at line 3080 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3053 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_Char(), EDIT_WM_Cut(), and EDIT_WM_KeyDown().
Definition at line 3211 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3024 of file edit.c.
Referenced by EDIT_WindowProc(), EDIT_WM_Cut(), and EDIT_WM_KeyDown().
Definition at line 4632 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3068 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_KeyDown().
Definition at line 4054 of file edit.c.
Referenced by EDIT_EM_GetThumb(), and EDIT_WindowProc().
Definition at line 3343 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3477 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3505 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3534 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3560 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3576 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3588 of file edit.c.
Referenced by EDIT_WindowProc().
|
static |
Definition at line 4519 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 4687 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3709 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3620 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_SetFocus().
Definition at line 2988 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_KeyDown().
Definition at line 3771 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 3829 of file edit.c.
Referenced by EDIT_WindowProc(), and EDIT_WM_Create().
Definition at line 3902 of file edit.c.
Referenced by EDIT_WindowProc().
|
static |
Definition at line 3977 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 4017 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 4036 of file edit.c.
Referenced by EDIT_WindowProc().
Definition at line 4186 of file edit.c.
Referenced by EDIT_EM_GetThumb(), and EDIT_WindowProc().
Definition at line 236 of file edit.c.
Referenced by EDIT_CallWordBreakProc().
Definition at line 2765 of file edit.c.
Referenced by EDIT_EM_SetMargins(), and test_margins_default().
|
static |
Definition at line 3797 of file edit.c.
Referenced by EDIT_WM_SetFont().
Definition at line 216 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_CharFromPos(), EDIT_EM_LineFromChar(), EDIT_EM_LineLength(), EDIT_EM_PosFromChar(), EDIT_EM_ReplaceSel(), EDIT_EM_ScrollCaret(), EDIT_EM_SetHandle(), EDIT_EM_SetSel(), EDIT_EM_SetWordBreakProc(), EDIT_InvalidateText(), EDIT_MoveEnd(), EDIT_UnlockBuffer(), EDIT_UpdateUniscribeData(), EDIT_WindowProc(), EDIT_WM_ContextMenu(), EDIT_WM_KeyDown(), EDIT_WM_SetFont(), and EDIT_WordBreakProc().
Definition at line 414 of file edit.c.
Referenced by EDIT_AdjustFormatRect(), EDIT_BuildLineDefs_ML(), EDIT_EM_ReplaceSel(), EDIT_EM_Scroll(), EDIT_EM_ScrollCaret(), EDIT_ML_InvalidateText(), EDIT_PaintLine(), EDIT_WM_Paint(), and EDIT_WM_VScroll().
BOOL WINAPI GetCharWidthInfo | ( | HDC | , |
struct char_width_info * | |||
) |
Referenced by EDIT_EM_SetMargins().
Definition at line 4312 of file edit.c.
Referenced by add_prop(), alloc_global_prop(), alloc_prop(), alloc_vbscode(), APPINFO_SetOption(), BPInternetProtocolSink_ReportProgress(), BPInternetProtocolSink_ReportResult(), cache_authorization(), cache_basic_authorization(), cache_containers_add(), cache_file_available(), create_channelbsc(), create_class_object(), create_req_file(), create_signature_columns_and_data(), create_table(), dispid_from_elem_name(), DownloadBSC_Create(), DownloadBSC_OnProgress(), EDIT_EM_SetCueBanner(), fill_cdromdrive(), fill_diskdrive(), fill_diskpartition(), fill_logicaldisk(), fill_networkadapter(), fill_networkadapterconfig(), fill_operatingsystem(), fill_pnpentity(), fill_printer(), fill_process(), fill_processor(), fill_service(), fill_sid(), fill_videocontroller(), fix_url_value(), FTP_Connect(), FTP_FtpOpenFileW(), FtpCreateDirectoryW(), FtpDeleteFileW(), FtpFindFirstFileW(), FtpGetFileW(), FtpOpenFileW(), FtpPutFileW(), FtpRemoveDirectoryW(), FtpRenameFileW(), FtpSetCurrentDirectoryW(), get_accountname(), get_baseboard_manufacturer(), get_baseboard_product(), get_baseboard_serialnumber(), get_baseboard_version(), get_bios_manufacturer(), get_bios_releasedate(), get_bios_smbiosbiosversion(), get_cmdline(), get_compsysproduct_identifyingnumber(), get_compsysproduct_name(), get_compsysproduct_uuid(), get_compsysproduct_vendor(), get_compsysproduct_version(), get_defaultipgateway(), get_diskdrivetodiskpartition_pairs(), get_dnshostname(), get_dnsserversearchorder(), get_dynamic_prop(), get_filesystem(), get_host_header(), get_ipaddress(), get_ipsubnet(), get_logicaldisktopartition_pairs(), get_referenceddomainname(), get_settingid(), get_systemenclosure_manufacturer(), get_useragent(), get_volumename(), get_volumeserialnumber(), HTMLDOMAttribute_Create(), HTMLElement_clone(), HTMLStyle_put_filter(), HTTP_Connect(), HTTP_DoAuthorization(), HTTP_FixURL(), HTTP_GetResponseHeaders(), HTTP_HttpEndRequestW(), HTTP_HttpOpenRequestW(), HTTP_HttpSendRequestW(), HTTP_InsertCustomHeader(), HTTP_ProcessCookies(), HTTPREQ_SetOption(), HTTPSESSION_SetOption(), init_code(), INTERNET_LoadProxySettings(), INTERNET_SendCallback(), InternetOpenUrlW(), InternetOpenW(), InternetProtocolSink_ReportProgress(), InternetSession_RegisterMimeFilter(), InternetSetOptionW(), is_basic_auth_value(), JScript_AddNamedItem(), MetadataQueryReader_CreateInstance(), mime_available(), MonikerProp_PutProperty(), parse_event_elem(), parse_proxy_url(), ProtocolSinkHandler_ReportData(), query_global_option(), register_namespace(), retrieve_cached_authorization(), set_dochost_url(), to_array(), to_longlong(), update_travellog(), VBScript_AddNamedItem(), wbem_services_ExecNotificationQueryAsync(), wbem_services_ExecQueryAsync(), WbemQualifierSet_create(), WbemServices_create(), and WININET_SetAuthorization().
Definition at line 2751 of file edit.c.
Definition at line 166 of file edit.c.
Referenced by EDIT_EM_LineScroll_internal(), EDIT_EM_ReplaceSel(), EDIT_EM_Undo(), EDIT_MakeFit(), EDIT_UpdateText(), EDIT_UpdateTextRegion(), EDIT_WM_HScroll(), EDIT_WM_KeyDown(), EDIT_WM_KillFocus(), EDIT_WM_SetFocus(), EDIT_WM_SetText(), and EDIT_WM_VScroll().
Definition at line 1198 of file edit.c.
Referenced by EDIT_EM_ReplaceSel(), and EDIT_EM_SetHandle().
WINE_DEFAULT_DEBUG_CHANNEL | ( | edit | ) |