Home | History | Annotate | Download | only in pdfwindow

Lines Matching refs:m_pEdit

21     : m_pEdit(new CFX_Edit),
36 m_pEdit->SetFontMap(GetFontMap());
37 m_pEdit->SetNotify(this);
38 m_pEdit->Initialize();
58 m_pEdit->SetPlateRect(GetClientRect());
90 m_pEdit->SetScrollPos(CFX_PointF(m_pEdit->GetScrollPos().x, fPos));
125 m_pEdit->SetFontSize(fFontSize);
129 return m_pEdit->GetFontSize();
163 if (nChar == FWL_VKEY_Delete && m_pEdit->IsSelected())
175 m_pEdit->OnVK_UP(IsSHIFTpressed(nFlag), false);
178 m_pEdit->OnVK_DOWN(IsSHIFTpressed(nFlag), false);
181 m_pEdit->OnVK_LEFT(IsSHIFTpressed(nFlag), false);
184 m_pEdit->OnVK_RIGHT(IsSHIFTpressed(nFlag), false);
187 m_pEdit->OnVK_HOME(IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag));
190 m_pEdit->OnVK_END(IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag));
255 if (m_pEdit->IsSelected() && word == FWL_VKEY_Back)
287 m_pEdit->OnMouseDown(point, IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag));
312 m_pEdit->OnMouseMove(point, false, false);
318 return m_pEdit->GetContentRect();
327 CPVT_WordPlace wpTemp = m_pEdit->GetCaretWordPlace();
332 CFX_Edit_Iterator* pIterator = m_pEdit->GetIterator();
333 pIterator->SetAt(m_pEdit->GetCaret());
353 if (!IsFocused() || m_pEdit->IsSelected())
361 return m_pEdit->GetText();
365 m_pEdit->SetSel(nStartChar, nEndChar);
369 m_pEdit->GetSel(nStartChar, nEndChar);
374 m_pEdit->Clear();
378 m_pEdit->SelectAll();
382 m_pEdit->Paint();
386 m_pEdit->EnableRefresh(bRefresh);
390 return m_pEdit->GetCaret();
394 m_pEdit->SetCaret(nPos);
398 return m_pEdit->GetTotalWords();
402 m_pEdit->SetScrollPos(point);
406 return m_pEdit->GetScrollPos();
412 CFX_Edit_Iterator* pIterator = m_pEdit->GetIterator();
413 pIterator->SetAt(m_pEdit->GetCaret());
433 CFX_Edit_Iterator* pIterator = m_pEdit->GetIterator();
434 pIterator->SetAt(m_pEdit->GetCaret());
449 m_pEdit->SetText(wsText);
462 m_pEdit->InsertText(wsText, FXFONT_DEFAULT_CHARSET);
467 m_pEdit->InsertWord(word, nCharset);
472 m_pEdit->InsertReturn();
477 m_pEdit->Delete();
482 m_pEdit->Backspace();
486 return !IsReadOnly() && m_pEdit->CanUndo();
490 return !IsReadOnly() && m_pEdit->CanRedo();
495 m_pEdit->Redo();
500 m_pEdit->Undo();
559 nStartChar = m_pEdit->WordPlaceToWordIndex(
560 m_pEdit->SearchWordPlace(CFX_PointF(rect.left, rect.top)));
561 nEndChar = m_pEdit->WordPlaceToWordIndex(
562 m_pEdit->SearchWordPlace(CFX_PointF(rect.right, rect.bottom)));
567 CPVT_WordPlace wpStart = m_pEdit->WordIndexToWordPlace(nStartChar);
568 CPVT_WordPlace wpEnd = m_pEdit->WordIndexToWordPlace(nEndChar);
569 return m_pEdit->GetRangeText(CPVT_WordRange(wpStart, wpEnd));