#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | SYS_ALTERNATE 0x2000 |
Typedefs | |
typedef BOOL(* | FnGetTextExtentPoint )(HDC, PVOID, int, LPSIZE) |
Functions | |
int | SLCalcStringWidth (PED ped, HDC hdc, ICH ich, ICH cch) |
int | SLCalcXOffsetLeft (PED ped, HDC hdc, ICH ich) |
int | SLCalcXOffsetSpecial (PED ped, HDC hdc, ICH ich) |
void | SLSetCaretPosition (PED ped, HDC hdc) |
int | SLIchToLeftXPos (PED ped, HDC hdc, ICH ich) |
void | SLSetSelection (PED ped, ICH ichSelStart, ICH ichSelEnd) |
void | SLGetClipRect (PED ped, HDC hdc, ICH ichStart, int iCount, LPRECT lpClipRect) |
void | SLChangeSelection (PED ped, HDC hdc, ICH ichNewMinSel, ICH ichNewMaxSel) |
void | SLDrawLine (PED ped, HDC hdc, int xClipStPos, int xClipEndPos, ICH ichStart, int iCount, BOOL fSelStatus) |
int | SLGetBlkEnd (PED ped, ICH ichStart, ICH ichEnd, BOOL FAR *lpfStatus) |
void | SLDrawText (PED ped, HDC hdc, ICH ichStart) |
BOOL | SLScrollText (PED ped, HDC hdc) |
ICH | SLInsertText (PED ped, LPSTR lpText, ICH cchInsert) |
ICH PASCAL NEAR | SLPasteText (PED ped) |
void | SLReplaceSel (PED ped, LPSTR lpText) |
void | SLChar (PED ped, DWORD keyValue) |
ICH | SLMoveSelectionRestricted (PED ped, ICH ich, BOOL fLeft) |
void | SLKeyDown (PED ped, DWORD virtKeyCode, int keyMods) |
ICH | SLMouseToIch (PED ped, HDC hdc, LPPOINT mousePt) |
void | SLMouseMotion (PED ped, UINT message, UINT virtKeyDown, LPPOINT mousePt) |
void | SLPaint (PED ped, HDC hdc) |
void | SLSetFocus (PED ped) |
void | SLKillFocus (PED ped, HWND newFocusHwnd) |
void | SLPaste (PED ped) |
LRESULT | SLEditWndProc (HWND hwnd, PED ped, UINT message, WPARAM wParam, LPARAM lParam) |
|
Definition at line 21 of file editsl.c. Referenced by DefWindowProcWorker(), EditWndProc(), IsDialogMessageW(), MLEditWndProc(), SLEditWndProc(), SystoChar(), and xxxDefWindowProc(). |
|
Definition at line 23 of file editsl.c. Referenced by SLMouseToIch(). |
|
Definition at line 30 of file editsl.c. References tagED::aveCharWidth, tagED::charOverhang, tagED::charPasswordChar, tagED::cPasswordCharWidth, ECLock(), ECUnlock(), tagED::fAnsi, tagED::fDBCS, and tagED::fNonPropFont. Referenced by SLCalcXOffsetLeft(), and SLCalcXOffsetSpecial().
|
|
Definition at line 62 of file editsl.c. References tagED::ichScreenStart, and SLCalcStringWidth(). Referenced by SLCalcXOffsetSpecial(), SLDrawLine(), SLDrawText(), and SLGetClipRect().
|
|
Definition at line 80 of file editsl.c. References tagED::cbChar, tagED::cch, ECCchInWidth(), ECLock(), ECUnlock(), tagED::format, ICH, tagED::ichScreenStart, max, tagED::rcFmt, SLCalcStringWidth(), SLCalcXOffsetLeft(), and TRUE. Referenced by SLDrawLine(), SLDrawText(), SLGetClipRect(), SLIchToLeftXPos(), and SLMouseToIch().
|
|
Definition at line 395 of file editsl.c. References _IsWindowVisible(), tagED::cch, ECAdjustIch(), ECCalcChangeSelection(), ECGetBrush(), ECLock(), ECUnlock(), tagLPKEDITCALLOUT::EditDrawText, tagBLOCK::EndPos, tagED::fAnsi, tagED::fDBCS, tagED::fFocus, tagED::fNoHideSel, tagED::hwnd, ICH, tagED::ichMaxSel, tagED::ichMinSel, min, NtUserHideCaret(), NtUserShowCaret(), tagED::pLpkEditCallout, tagED::pwnd, tagED::rcFmt, SLDrawLine(), SLGetClipRect(), SLSetCaretPosition(), and tagBLOCK::StPos. Referenced by SLKeyDown(), SLMouseMotion(), and SLSetSelection().
|
|
Definition at line 1304 of file editsl.c. References BOOL, BYTE, DbcsCombine(), ECDeleteText(), ECGetEditDC(), ECInOutReconversionMode(), ECIsCharNumeric(), ECIsDBCSLeadByte(), ECNotifyParent(), ECPrevIch(), ECReleaseEditDC(), EFNUMBER, tagED::f40Compat, FALSE, tagED::fAnsi, tagED::fMouseDown, tagED::format, tagED::fReadOnly, FWINABLE, tagED::hwnd, tagED::hwndParent, tagED::ichCaret, tagED::ichMaxSel, tagED::ichMinSel, IS_DBCS_ENABLED, IS_IME_ENABLED, IsWindow(), L, tagED::listboxHwnd, LOBYTE, max, NotifyWinEvent(), NtUserCallNoParam(), NtUserMessageBeep, NULL, tagED::pwnd, SendMessage(), SLDrawText(), SLInsertText(), SLScrollText(), TestWF, TRUE, and tagED::wMaxNegCcharPos. Referenced by SLEditWndProc(), and SLKeyDown().
|
|
Definition at line 507 of file editsl.c. References _IsWindowVisible(), tagED::cch, tagED::charPasswordChar, CopyRect, tagED::cPasswordCharWidth, DWORD, ECAnsiNext(), ECAnsiPrev(), ECGetBrush(), ECLock(), ECSetEditClip(), ECUnlock(), tagED::fAnsi, tagED::fDBCS, FillRect(), tagED::format, GetSysColor(), ICH, tagED::ichScreenStart, InflateRect(), max, min, NULL, tagED::pLpkEditCallout, tagED::pwnd, tagED::rcFmt, SLCalcXOffsetLeft(), SLCalcXOffsetSpecial(), SYSHBR, TRUE, tagED::wMaxNegAcharPos, and tagED::wMaxNegCcharPos. Referenced by SLChangeSelection(), and SLDrawText().
|
|
Definition at line 737 of file editsl.c. References _IsWindowVisible(), BOOL, tagED::cbChar, tagED::cch, tagED::charOverhang, tagED::charPasswordChar, CopyRect, tagED::cPasswordCharWidth, ECAdjustIch(), ECCchInWidth(), ECGetBrush(), ECLock(), ECUnlock(), tagLPKEDITCALLOUT::EditDrawText, FALSE, tagED::fAnsi, tagED::fDBCS, tagED::fFocus, FillRect(), tagED::fNoHideSel, tagED::format, tagED::fTrueType, ICH, tagED::ichMaxSel, tagED::ichMinSel, tagED::ichScreenStart, tagED::pLpkEditCallout, tagED::pwnd, tagED::rcFmt, SLCalcXOffsetLeft(), SLCalcXOffsetSpecial(), SLDrawLine(), SLGetBlkEnd(), SLSetCaretPosition(), TRUE, tagED::wLeftMargin, tagED::wMaxNegA, tagED::wMaxNegC, and tagED::wRightMargin. Referenced by ECImeComposition(), EditWndProc(), SLChar(), SLKeyDown(), SLPaint(), SLPaste(), SLReplaceSel(), SLScrollText(), and SLSetFocus().
|
|
Definition at line 2520 of file editsl.c. References _IsWindowVisible(), CBFDROPDOWN, tagED::cch, DefWindowProcWorker(), ECEmptyUndo(), ECGetCaretWidth, ECGetEditDC(), ECGetText(), ECReleaseEditDC(), ECSize(), ECUpdateFormat(), tagLPKEDITCALLOUT::EditCreateCaret, tagED::f40Compat, FALSE, tagED::fAnsi, tagED::fBorder, tagED::fEatNextChar, tagED::fFocus, tagED::fMouseDown, foo(), tagED::fReadOnly, GetKeyState(), HtoP, tagED::hwnd, tagED::hwndParent, ICH, tagED::ichScreenStart, L, tagED::lineHeight, tagED::listboxHwnd, NtUserBeginPaint(), NtUserDestroyCaret, NtUserEndPaint(), NtUserHideCaret(), NtUserShowCaret(), NULL, tagED::pLpkEditCallout, Pundo, tagED::pwnd, SendMessage(), SLChar(), SLCreate(), SLIchToLeftXPos(), SLKeyDown(), SLKillFocus(), SLMouseMotion(), SLMouseToIch(), SLPaint(), SLPaste(), SLReplaceSel(), SLSetCaretPosition(), SLSetFocus(), SLSetSelection(), SLUndo(), SYS_ALTERNATE, TestWF, TRUE, UINT, ValidateHwnd, WEFDLGMODALFRAME, WFHPRESENT, WFMPRESENT, WFSIZEBOX, and WFVPRESENT. Referenced by ECClearText(), and EditWndProc().
|
|
Definition at line 706 of file editsl.c. References FALSE, tagED::ichMaxSel, tagED::ichMinSel, min, and TRUE. Referenced by SLDrawText().
|
|
Definition at line 323 of file editsl.c. References tagED::charOverhang, tagED::charPasswordChar, CopyRect, tagED::cPasswordCharWidth, ECLock(), ECUnlock(), tagED::fAnsi, tagED::format, tagED::ichScreenStart, tagED::pLpkEditCallout, tagED::rcFmt, SetRectEmpty, SLCalcXOffsetLeft(), and SLCalcXOffsetSpecial(). Referenced by SLChangeSelection().
|
|
fAnsi Definition at line 182 of file editsl.c. References tagED::aveCharWidth, tagED::cch, tagED::charOverhang, tagED::charPasswordChar, tagED::cPasswordCharWidth, ECLock(), ECUnlock(), tagLPKEDITCALLOUT::EditIchToXY, tagED::fAnsi, tagED::fDBCS, tagED::fNonPropFont, tagED::format, tagED::ichScreenStart, tagED::pLpkEditCallout, tagED::rcFmt, and SLCalcXOffsetSpecial(). Referenced by SLEditWndProc(), and SLSetCaretPosition().
|
|
Definition at line 1074 of file editsl.c. References tagED::cch, tagED::cchTextMax, tagED::charPasswordChar, tagED::cPasswordCharWidth, ECCchInWidth(), ECGetEditDC(), ECInsertText(), ECLock(), ECNotifyParent(), ECReleaseEditDC(), ECUnlock(), tagED::fAnsi, tagED::fAutoHScroll, tagED::fDirty, ICH, min, tagED::rcFmt, and TRUE. Referenced by ECImeComposition(), SLChar(), SLPasteText(), SLReplaceSel(), and SLUndo().
|
|
Definition at line 1529 of file editsl.c. References BOOL, tagED::cch, CTRLDOWN, ECGetEditDC(), ECGetModKeys(), ECNextIch(), ECNotifyParent(), ECPrevIch(), ECReleaseEditDC(), ECWord(), FALSE, tagED::fAnsi, tagED::fEatNextChar, tagED::fMouseDown, tagED::fReadOnly, FWINABLE, HanjaKeyHandler(), tagED::hwnd, tagED::hwndParent, ICH, tagED::ichCaret, tagED::ichMaxSel, tagED::ichMinSel, L, tagED::listboxHwnd, NONEDOWN, NotifyWinEvent(), NULL, tagED::pLpkEditCallout, SendMessage(), SHFTDOWN, SLChangeSelection(), SLChar(), SLDrawText(), SLMoveSelectionRestricted(), SLScrollText(), TRUE, and UINT. Referenced by SLEditWndProc().
|
|
Definition at line 2394 of file editsl.c. References ECNotifyParent(), FALSE, tagED::fFocus, tagED::fNoHideSel, tagED::hwnd, tagED::hwndParent, tagED::ichCaret, tagED::ichMaxSel, tagED::ichMinSel, IsChild(), L, tagED::listboxHwnd, NtUserDestroyCaret, NtUserInvalidateRect(), NULL, SendMessage(), and SLSetSelection(). Referenced by SLEditWndProc().
|
|
Definition at line 2098 of file editsl.c. References BOOL, tagED::cch, DWORD, ECGetEditDC(), ECIsDBCSLeadByte(), ECLock(), ECReleaseEditDC(), ECUnlock(), ECWord(), FALSE, tagED::fAnsi, tagED::fDBCS, tagED::fFocus, tagED::fMouseDown, tagED::fNoHideSel, tagED::hwnd, ICH, tagED::ichCaret, tagED::ichMaxSel, tagED::ichMinSel, tagED::ichStartMaxSel, tagED::ichStartMinSel, tagED::listboxHwnd, min, NtUserReleaseCapture, NtUserSetCapture(), NtUserSetFocus(), SLChangeSelection(), SLMouseToIch(), SLScrollText(), and TRUE. Referenced by SLEditWndProc().
|
|
Definition at line 1934 of file editsl.c. References tagED::cbChar, tagED::cch, tagED::charPasswordChar, tagED::cPasswordCharWidth, DWORD, ECAdjustIch(), ECCchInWidth(), ECIsDBCSLeadByte(), ECLock(), ECUnlock(), tagLPKEDITCALLOUT::EditMouseToIch, tagED::fAnsi, tagED::fDBCS, FnGetTextExtentPoint, tagED::format, ICH, tagED::ichScreenStart, min, tagED::pLpkEditCallout, tagED::rcFmt, SLCalcXOffsetSpecial(), and TRUE. Referenced by SLEditWndProc(), and SLMouseMotion().
|
|
Definition at line 1498 of file editsl.c. References ECGetEditDC(), ECLock(), ECReleaseEditDC(), ECUnlock(), tagLPKEDITCALLOUT::EditMoveSelection, ICH, tagED::pLpkEditCallout, and TRUE. Referenced by SLKeyDown().
|
|
Definition at line 2280 of file editsl.c. References _GetClientRect(), _IsWindowVisible(), DF_WINDOWFRAME, DrawFrame(), ECGetBrush(), tagED::fFlatBorder, FillRect(), tagED::hFont, tagED::hwnd, NtUserHideCaret(), NtUserShowCaret(), NULL, tagED::pwnd, and SLDrawText(). Referenced by SLEditWndProc().
|
|
Definition at line 2467 of file editsl.c. References ECDeleteText(), ECGetEditDC(), ECNotifyParent(), ECReleaseEditDC(), FALSE, FWINABLE, tagED::hwnd, NotifyWinEvent(), SLDrawText(), SLPasteText(), and SLScrollText(). Referenced by SLEditWndProc().
|
|
Definition at line 1157 of file editsl.c. References tagED::fAnsi, GetClipboardData(), tagED::hwnd, ICH, NtUserCloseClipboard(), NULL, OpenClipboard(), SLInsertText(), strlen(), UINT, USERGLOBALLOCK, and USERGLOBALUNLOCK. Referenced by SLPaste().
|
|
Definition at line 1225 of file editsl.c. References _IsWindowVisible(), BOOL, ECDeleteText(), ECEmptyUndo(), ECGetEditDC(), ECNotifyParent(), ECReleaseEditDC(), ECSaveUndo(), FALSE, tagED::fAnsi, FWINABLE, tagED::hwnd, IsWindow(), NotifyWinEvent(), Pundo, tagED::pwnd, SLDrawText(), SLInsertText(), SLScrollText(), SLUndo(), strlen(), and UINT. Referenced by ECResultStrHandler(), and SLEditWndProc().
|
|
Definition at line 932 of file editsl.c. References BOOL, tagED::cbChar, tagED::cch, CopyInflateRect(), ECAdjustIch(), ECAdjustIchNext(), ECCchInWidth(), ECGetBrush(), ECLock(), ECUnlock(), tagLPKEDITCALLOUT::EditHScroll, FALSE, tagED::fAnsi, tagED::fAutoHScroll, tagED::fDBCS, FillRect(), tagED::format, ICH, tagED::ichCaret, tagED::ichScreenStart, tagED::pLpkEditCallout, tagED::rcFmt, SLDrawText(), TRUE, and tagED::wLeftMargin. Referenced by ECImeComposition(), SLChar(), SLKeyDown(), SLMouseMotion(), SLPaste(), SLReplaceSel(), and SLSetSelection().
|
|
Definition at line 126 of file editsl.c. References tagED::aveCharWidth, tagED::cxSysCharWidth, ECImmSetCompositionWindow(), tagED::fCaretHidden, tagED::fFocus, fpImmIsIME, tagED::iCaretOffset, tagED::ichCaret, max, min, NtUserSetCaretPos, tagED::pLpkEditCallout, tagED::rcFmt, SLIchToLeftXPos(), and THREAD_HKL. Referenced by ECSetCaretHandler(), SLChangeSelection(), SLDrawText(), SLEditWndProc(), SLSetFocus(), and SLSetSelection().
|
|
Definition at line 2341 of file editsl.c. References ECGetCaretWidth, ECGetEditDC(), ECNotifyParent(), ECReleaseEditDC(), tagLPKEDITCALLOUT::EditCreateCaret, tagED::fFocus, tagED::fNoHideSel, tagED::hwnd, tagED::lineHeight, NtUserCreateCaret(), NtUserShowCaret(), NULL, tagED::pLpkEditCallout, SLDrawText(), SLSetCaretPosition(), and TRUE. Referenced by SLEditWndProc().
|
|
Definition at line 283 of file editsl.c. References ECGetEditDC(), ECReleaseEditDC(), FALSE, tagED::ichCaret, tagED::ichMaxSel, SLChangeSelection(), SLScrollText(), and SLSetCaretPosition(). Referenced by SLEditWndProc(), SLKillFocus(), and SLUndo().
|