Lines Matching refs:m_Param
72 m_bAutoLineEnd = (m_Param.nLineEnd == FDE_TXTEDIT_LINEEND_Auto); in CFDE_TxtEdtEngine()
78 m_Param.pEventSink = nullptr; in ~CFDE_TxtEdtEngine()
86 m_Param = params; in SetEditParams()
88 m_bAutoLineEnd = (m_Param.nLineEnd == FDE_TXTEDIT_LINEEND_Auto); in SetEditParams()
93 return &m_Param; in GetEditParams()
208 m_Param.pEventSink->OnCaretChanged(); in SetCaretPos()
298 m_Param.pEventSink->OnSelChanged(); in MoveCaretPos()
301 m_Param.pEventSink->OnSelChanged(); in MoveCaretPos()
346 if ((m_Param.dwMode & FDE_TEXTEDITMODE_LimitArea_Vert) || in Insert()
347 (m_Param.dwMode & FDE_TEXTEDITMODE_LimitArea_Horz)) { in Insert()
349 if (m_Param.dwMode & FDE_TEXTEDITMODE_Password) { in Insert()
379 if (m_Param.dwMode & FDE_TEXTEDITMODE_Validate) { in Insert()
381 if (!m_Param.pEventSink->OnValidate(wsText)) in Insert()
387 m_Param.pEventSink->OnAddDoRecord( in Insert()
404 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); in Insert()
438 if (m_Param.dwMode & FDE_TEXTEDITMODE_Validate) { in Delete()
440 if (!m_Param.pEventSink->OnValidate(wsText)) in Delete()
444 m_Param.pEventSink->OnAddDoRecord( in Delete()
453 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); in Delete()
464 if (m_Param.dwMode & FDE_TEXTEDITMODE_Validate) { in DeleteRange()
466 if (!m_Param.pEventSink->OnValidate(wsText)) in DeleteRange()
470 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); in DeleteRange()
482 if (m_Param.dwMode & FDE_TEXTEDITMODE_Validate) { in Replace()
485 if (!m_Param.pEventSink->OnValidate(wsText)) in Replace()
509 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in Replace()
510 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in Replace()
511 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); in Replace()
547 m_Param.pEventSink->OnSelChanged(); in AddSelRange()
557 m_Param.pEventSink->OnSelChanged(); in AddSelRange()
603 m_Param.pEventSink->OnSelChanged(); in AddSelRange()
621 if (nCount && m_Param.pEventSink) in ClearSelection()
622 m_Param.pEventSink->OnSelChanged(); in ClearSelection()
672 m_rtCaret = CFX_RectF(0, 0, 1, m_Param.fFontSize); in EndLayout()
787 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in Inner_Insert()
841 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in Inner_Insert()
851 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in Inner_DeleteRange()
897 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in Inner_DeleteRange()
910 m_Param.pEventSink->OnAddDoRecord( in DeleteRange_DoRecord()
1005 if (m_Param.dwMode & FDE_TEXTEDITMODE_MultiLines) { in UpdateTxtBreak()
1014 if (m_Param.dwLayoutStyles & FDE_TEXTEDITLAYOUT_CombText) { in UpdateTxtBreak()
1027 if (m_Param.dwAlignment & FDE_TEXTEDITALIGN_Justified) { in UpdateTxtBreak()
1030 if (m_Param.dwAlignment & FDE_TEXTEDITALIGN_Center) { in UpdateTxtBreak()
1032 } else if (m_Param.dwAlignment & FDE_TEXTEDITALIGN_Right) { in UpdateTxtBreak()
1037 if (m_Param.dwMode & FDE_TEXTEDITMODE_AutoLineWrap) { in UpdateTxtBreak()
1038 m_pTextBreak->SetLineWidth(m_Param.fPlateWidth); in UpdateTxtBreak()
1043 m_nPageLineCount = m_Param.nLineCount; in UpdateTxtBreak()
1044 if (m_Param.dwLayoutStyles & FDE_TEXTEDITLAYOUT_CombText) { in UpdateTxtBreak()
1045 FX_FLOAT fCombWidth = m_Param.fPlateWidth; in UpdateTxtBreak()
1051 m_pTextBreak->SetFont(m_Param.pFont); in UpdateTxtBreak()
1052 m_pTextBreak->SetFontSize(m_Param.fFontSize); in UpdateTxtBreak()
1053 m_pTextBreak->SetTabWidth(m_Param.fTabWidth, m_Param.bTabEquidistant); in UpdateTxtBreak()
1054 m_pTextBreak->SetDefaultChar(m_Param.wDefChar); in UpdateTxtBreak()
1055 m_pTextBreak->SetParagraphBreakChar(m_Param.wLineBreakChar); in UpdateTxtBreak()
1056 m_pTextBreak->SetCharRotation(m_Param.nCharRotation); in UpdateTxtBreak()
1057 m_pTextBreak->SetLineBreakTolerance(m_Param.fFontSize * 0.2f); in UpdateTxtBreak()
1058 m_pTextBreak->SetHorizontalScale(m_Param.nHorzScale); in UpdateTxtBreak()
1059 m_pTextBreak->SetCharSpace(m_Param.fCharSpace); in UpdateTxtBreak()
1156 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in MovePage2Char()
1160 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in MovePage2Char()
1163 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in MovePage2Char()
1252 ptCaret.y = m_rtCaret.top + m_rtCaret.height / 2 - m_Param.fLineSpace; in MoveUp()
1270 ptCaret.y = m_rtCaret.top + m_rtCaret.height / 2 + m_Param.fLineSpace; in MoveDown()
1380 pTextOut->SetLineSpace(m_Param.fLineSpace); in IsFitArea()
1381 pTextOut->SetFont(m_Param.pFont); in IsFitArea()
1382 pTextOut->SetFontSize(m_Param.fFontSize); in IsFitArea()
1384 if (!(m_Param.dwMode & FDE_TEXTEDITMODE_MultiLines)) in IsFitArea()
1388 if (m_Param.dwMode & FDE_TEXTEDITMODE_AutoLineWrap) { in IsFitArea()
1390 rcText.width = m_Param.fPlateWidth; in IsFitArea()
1398 if ((m_Param.dwMode & FDE_TEXTEDITMODE_LimitArea_Horz) && in IsFitArea()
1399 (rcText.width > m_Param.fPlateWidth)) { in IsFitArea()
1402 if ((m_Param.dwMode & FDE_TEXTEDITMODE_LimitArea_Vert) && in IsFitArea()
1403 (rcText.height > m_Param.fLineSpace * m_Param.nLineCount)) { in IsFitArea()
1419 m_Param.pEventSink->OnCaretChanged(); in UpdateCaretRect()
1427 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in GetCaretRect()
1428 bool bCombText = !!(m_Param.dwLayoutStyles & FDE_TEXTEDITLAYOUT_CombText); in GetCaretRect()
1444 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in GetCaretRect()
1449 m_Param.pEventSink->OnPageLoad(m_nCaretPage); in UpdateCaretIndex()
1456 m_Param.pEventSink->OnCaretChanged(); in UpdateCaretIndex()
1457 m_Param.pEventSink->OnPageUnload(m_nCaretPage); in UpdateCaretIndex()
1475 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); in DeleteSelect()
1476 m_Param.pEventSink->OnSelChanged(); in DeleteSelect()