Lines Matching refs:aSel
1644 Selection aSel( maSelection ); in ImplHandleKeyEvent() local
1685 if ( bGoLeft && aSel.Max() ) in ImplHandleKeyEvent()
1689 …i18n::Boundary aBoundary = xBI->getWordBoundary( maText, aSel.Max(), GetSettings().GetLocale(), i1… in ImplHandleKeyEvent()
1690 if ( aBoundary.startPos == aSel.Max() ) in ImplHandleKeyEvent()
1691 …aBoundary = xBI->previousWord( maText, aSel.Max(), GetSettings().GetLocale(), i18n::WordType::ANYW… in ImplHandleKeyEvent()
1692 aSel.Max() = aBoundary.startPos; in ImplHandleKeyEvent()
1697 …aSel.Max() = xBI->previousCharacters( maText, aSel.Max(), GetSettings().GetLocale(), i18n::Charact… in ImplHandleKeyEvent()
1700 else if ( bGoRight && ( aSel.Max() < maText.Len() ) ) in ImplHandleKeyEvent()
1704 …i18n::Boundary aBoundary = xBI->nextWord( maText, aSel.Max(), GetSettings().GetLocale(), i18n::Wor… in ImplHandleKeyEvent()
1705 aSel.Max() = aBoundary.startPos; in ImplHandleKeyEvent()
1710 …aSel.Max() = xBI->nextCharacters( maText, aSel.Max(), GetSettings().GetLocale(), i18n::CharacterIt… in ImplHandleKeyEvent()
1715 aSel.Max() = 0; in ImplHandleKeyEvent()
1719 aSel.Max() = 0xFFFF; in ImplHandleKeyEvent()
1723 aSel.Min() = aSel.Max(); in ImplHandleKeyEvent()
1725 if ( aSel != GetSelection() ) in ImplHandleKeyEvent()
1727 ImplSetSelection( aSel ); in ImplHandleKeyEvent()
2978 Selection aSel( maSelection ); in dragGestureRecognized() local
2979 aSel.Justify(); in dragGestureRecognized()
2984 if ( (nChar >= aSel.Min()) && (nChar < aSel.Max()) ) in dragGestureRecognized()
2990 mpDDInfo->aDndStartSel = aSel; in dragGestureRecognized()
3015 Selection aSel( mpDDInfo->aDndStartSel ); in dragDropEnd() local
3018 if ( aSel.Max() > mpDDInfo->nDropPos ) in dragDropEnd()
3020 long nLen = aSel.Len(); in dragDropEnd()
3021 aSel.Min() += nLen; in dragDropEnd()
3022 aSel.Max() += nLen; in dragDropEnd()
3025 ImplDelete( aSel, EDIT_DEL_RIGHT, EDIT_DELMODE_SIMPLE ); in dragDropEnd()
3044 Selection aSel( maSelection ); in drop() local
3045 aSel.Justify(); in drop()
3047 if ( aSel.Len() && !mpDDInfo->bStarterOfDD ) in drop()
3048 ImplDelete( aSel, EDIT_DEL_RIGHT, EDIT_DELMODE_SIMPLE ); in drop()
3052 aSel.Min() = mpDDInfo->nDropPos; in drop()
3053 aSel.Max() = mpDDInfo->nDropPos; in drop()
3054 ImplSetSelection( aSel ); in drop()
3129 Selection aSel( maSelection ); in dragOver() local
3130 aSel.Justify(); in dragOver()
3133 if ( IsReadOnly() || aSel.IsInside( mpDDInfo->nDropPos ) || ! mpDDInfo->bIsStringSupported ) in dragOver()