Lines Matching refs:nPos

42         xub_StrLen nPos,  in SwWrongArea()  argument
44 : maType(rType), mxPropertyBag(xPropertyBag), mnPos(nPos), mnLen(nLen), mpSubList(0) in SwWrongArea()
52 xub_StrLen nPos, in SwWrongArea() argument
55 : maType(rType), mxPropertyBag(xPropertyBag), mnPos(nPos), mnLen(nLen), mpSubList(pSubList), mLineT… in SwWrongArea()
128 MSHORT nPos = GetWrongPos( rChk ); in InWrongWord() local
130 if( nPos < Count() && ( nWrPos = Pos( nPos ) ) <= rChk ) in InWrongWord()
132 rLn = Len( nPos ); in InWrongWord()
146 MSHORT nPos = GetWrongPos( rChk ); in Check() local
150 if( nPos == Count() ) in Check()
153 xub_StrLen nEnd = Len( nPos ); in Check()
154 nEnd = nEnd + ( nWrPos = Pos( nPos ) ); in Check()
157 ++nPos; in Check()
158 if( nPos == Count() ) in Check()
162 nEnd = Len( nPos ); in Check()
163 nEnd = nEnd + ( nWrPos = Pos( nPos ) ); in Check()
185 xub_StrLen nPos = GetWrongPos( nChk ); in NextWrong() local
186 if( nPos < Count() ) in NextWrong()
188 nRet = Pos( nPos ); in NextWrong()
189 if( nRet < nChk && nRet + Len( nPos ) <= nChk ) in NextWrong()
191 if( ++nPos < Count() ) in NextWrong()
192 nRet = Pos( nPos ); in NextWrong()
296 void SwWrongList::Move( xub_StrLen nPos, long nDiff ) in Move() argument
298 MSHORT i = GetWrongPos( nPos ); in Move()
301 xub_StrLen nEnd = nPos + xub_StrLen( -nDiff ); in Move()
308 if( nLst > i && ( nWrPos = Pos( nLst - 1 ) ) <= nPos ) in Move()
313 nPos - nWrPos : in Move()
326 SetInvalid( nPos ? nPos - 1 : nPos, nPos + 1 ); in Move()
329 ShiftLeft( nBeginInvalid, nPos, nEnd ); in Move()
330 ShiftLeft( nEndInvalid, nPos, nEnd ); in Move()
331 _Invalidate( nPos ? nPos - 1 : nPos, nPos + 1 ); in Move()
337 xub_StrLen nEnd = nPos + xub_StrLen( nDiff ); in Move()
340 if( nBeginInvalid > nPos ) in Move()
342 if( nEndInvalid >= nPos ) in Move()
347 if( i < Count() && nPos >= ( nWrPos = Pos( i ) ) ) in Move()
356 Invalidate( nPos, nEnd ); in Move()
372 sal_Bool SwWrongList::Fresh( xub_StrLen &rStart, xub_StrLen &rEnd, xub_StrLen nPos, in Fresh() argument
376 sal_Bool bRet = nLen && ( nCursorPos > nPos + nLen || nCursorPos < nPos ); in Fresh()
381 if( nCnt < Count() && ( nWrPos = Pos( nIndex ) ) < nPos ) in Fresh()
387 while( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh()
390 if( nCnt < Count() && nWrPos == nPos && Len( nCnt ) == nLen ) in Fresh()
399 if( rStart > nPos ) in Fresh()
400 rStart = nPos; in Fresh()
401 nWrEnd = nPos + nLen; in Fresh()
405 nPos = nPos + nLen; in Fresh()
407 if( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh()
413 while( nCnt < Count() && ( nWrPos = Pos( nCnt ) ) < nPos ) in Fresh()