Lines Matching refs:aNewSel
452 Selection aNewSel(aSel); in SetTextFormatted() local
453 aNewSel.Justify(); in SetTextFormatted()
456 if ((nNewLen > nCurrentLen) && (aNewSel.Max() == nCurrentLen)) in SetTextFormatted()
458 if (aNewSel.Min() == 0) in SetTextFormatted()
460 aNewSel.Max() = nNewLen; in SetTextFormatted()
466 aNewSel.Min() = aNewSel.Max(); in SetTextFormatted()
467 aNewSel.Max() = 0; in SetTextFormatted()
471 else if (aNewSel.Max() == aNewSel.Min()) in SetTextFormatted()
473 aNewSel.Max() = nNewLen; in SetTextFormatted()
474 aNewSel.Min() = nNewLen; in SetTextFormatted()
477 else if (aNewSel.Max() > nNewLen) in SetTextFormatted()
478 aNewSel.Max() = nNewLen; in SetTextFormatted()
480 aNewSel = aSel; // don't use the justified version in SetTextFormatted()
481 SpinField::SetText(sFormatted, aNewSel); in SetTextFormatted()