Lines Matching refs:maSelection
570 …sal_Bool bDrawSelection = maSelection.Len() && ( HasFocus() || ( GetStyle() & WB_NOHIDESELECTION )… in ImplRepaint()
585 Selection aTmpSel( maSelection ); in ImplRepaint()
773 maSelection.Min() = aSelection.Min(); in ImplDelete()
774 maSelection.Max() = aSelection.Min(); in ImplDelete()
862 Selection aSelection( maSelection ); in ImplInsertText()
986 maSelection.Min() = aSelection.Min() + aNewText.getLength(); in ImplInsertText()
987 maSelection.Max() = maSelection.Min(); in ImplInsertText()
991 maSelection = *pNewSel; in ImplInsertText()
992 if ( maSelection.Min() > maText.Len() ) in ImplInsertText()
993 maSelection.Min() = maText.Len(); in ImplInsertText()
994 if ( maSelection.Max() > maText.Len() ) in ImplInsertText()
995 maSelection.Max() = maText.Len(); in ImplInsertText()
1008 … <= mnMaxTextLen ) && ( (rText != maText) || (pNewSelection && (*pNewSelection != maSelection)) ) ) in ImplSetText()
1011 maSelection.Min() = 0; in ImplSetText()
1012 maSelection.Max() = maText.Len(); in ImplSetText()
1026 maSelection.Max() = 0; in ImplSetText()
1185 if( maSelection.Max() < aText.Len() ) in ImplShowCursor()
1186 nTextPos = pDX[ 2*maSelection.Max() ]; in ImplShowCursor()
1192 if ( !mbInsertMode && !maSelection.Len() && (maSelection.Max() < aText.Len()) ) in ImplShowCursor()
1193 nCursorWidth = GetTextWidth( aText, (xub_StrLen)maSelection.Max(), 1 ); in ImplShowCursor()
1356 Selection aSelection( maSelection ); in ImplSetCursorPos()
1419 if( ImplTruncateToMaxLen( aText, maSelection.Len() ) ) in ImplPaste()
1441 Selection aSelection( maSelection ); in MouseButtonDown()
1539 if ( !mbReadOnly && maSelection.Len() && !(GetStyle() & WB_PASSWORD) ) in ImplHandleKeyEvent()
1644 Selection aSel( maSelection ); in ImplHandleKeyEvent()
1733 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in ImplHandleKeyEvent()
1779 ImplDelete( maSelection, nDel, nMode ); in ImplHandleKeyEvent()
1833 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in ImplHandleKeyEvent()
2011 maSelection.Min() = maText.Len(); in GetFocus()
2012 maSelection.Max() = 0; in GetFocus()
2016 maSelection.Min() = 0; in GetFocus()
2017 maSelection.Max() = maText.Len(); in GetFocus()
2035 else if ( maSelection.Len() ) in GetFocus()
2082 if ( !mbActivePopup && !( GetStyle() & WB_NOHIDESELECTION ) && maSelection.Len() ) in LoseFocus()
2100 if ( !maSelection.Len() ) in Command()
2136 if ( ( maSelection.Min() == 0 ) && ( maSelection.Max() == maText.Len() ) ) in Command()
2235 xub_StrLen nPos = (xub_StrLen)maSelection.Max(); in Command()
2255 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in Command()
2640 if ( rSelection != maSelection ) in ImplSetSelection()
2642 Selection aOld( maSelection ); in ImplSetSelection()
2654 if ( aNew != maSelection ) in ImplSetSelection()
2657 Selection aTemp = maSelection; in ImplSetSelection()
2658 maSelection = aNew; in ImplSetSelection()
2685 if( !maSelection && GetParent() && GetParent()->GetType() == WINDOW_COMBOBOX ) in ImplSetSelection()
2699 return maSelection; in GetSelection()
2720 if ( maSelection.Len() ) in DeleteSelected()
2721 ImplDelete( maSelection, EDIT_DEL_RIGHT, EDIT_DELMODE_SIMPLE ); in DeleteSelected()
2733 Selection aSelection( maSelection ); in GetSelected()
2975 if ( !IsTracking() && maSelection.Len() && in dragGestureRecognized()
2978 Selection aSel( maSelection ); in dragGestureRecognized()
3044 Selection aSel( maSelection ); in drop()
3129 Selection aSel( maSelection ); in dragOver()