Lines Matching refs:nStart
255 if ( rWrong.nStart > nPos ) in TextInserted()
257 rWrong.nStart = rWrong.nStart + nNew; in TextInserted()
268 else if ( ( rWrong.nStart < nPos ) && ( rWrong.nEnd > nPos ) ) in TextInserted()
275 WrongRange aNewWrong( rWrong.nStart, nPos ); in TextInserted()
276 rWrong.nStart = nPos+1; in TextInserted()
283 else if ( rWrong.nStart == nPos ) in TextInserted()
287 rWrong.nStart++; in TextInserted()
290 DBG_ASSERT( !bRefIsValid || ( rWrong.nStart < rWrong.nEnd ), in TextInserted()
326 if ( rWrong.nStart >= nEndChanges ) in TextDeleted()
328 rWrong.nStart = rWrong.nStart - nDeleted; in TextDeleted()
332 else if ( ( rWrong.nStart >= nPos ) && ( rWrong.nEnd <= nEndChanges ) ) in TextDeleted()
337 else if ( ( rWrong.nStart <= nPos ) && ( rWrong.nEnd > nPos ) ) in TextDeleted()
345 else if ( ( rWrong.nStart >= nPos ) && ( rWrong.nEnd > nEndChanges ) ) in TextDeleted()
347 rWrong.nStart = nEndChanges; in TextDeleted()
348 rWrong.nStart = rWrong.nStart - nDeleted; in TextDeleted()
352 DBG_ASSERT( rWrong.nStart < rWrong.nEnd, in TextDeleted()
375 rnStart = rWrong.nStart; in NextWrong()
383 sal_Bool WrongList::HasWrong( sal_uInt16 nStart, sal_uInt16 nEnd ) const in HasWrong() argument
388 if ( ( rWrong.nStart == nStart ) && ( rWrong.nEnd == nEnd ) ) in HasWrong()
390 else if ( rWrong.nStart >= nStart ) in HasWrong()
396 sal_Bool WrongList::HasAnyWrong( sal_uInt16 nStart, sal_uInt16 nEnd ) const in HasAnyWrong() argument
401 if ( ( rWrong.nEnd >= nStart ) && ( rWrong.nStart < nEnd ) ) in HasAnyWrong()
403 else if ( rWrong.nStart >= nEnd ) in HasAnyWrong()
409 void WrongList::ClearWrongs( sal_uInt16 nStart, sal_uInt16 nEnd, in ClearWrongs() argument
415 if ( ( rWrong.nEnd > nStart ) && ( rWrong.nStart < nEnd ) ) in ClearWrongs()
419 rWrong.nStart = nEnd; in ClearWrongs()
421 while ( ( rWrong.nStart < pNode->Len() ) && in ClearWrongs()
422 ( ( pNode->GetChar( rWrong.nStart ) == ' ' ) || in ClearWrongs()
423 ( pNode->IsFeature( rWrong.nStart ) ) ) ) in ClearWrongs()
425 rWrong.nStart++; in ClearWrongs()
439 void WrongList::InsertWrong( sal_uInt16 nStart, sal_uInt16 nEnd, in InsertWrong() argument
446 if ( rWrong.nStart >= nStart ) in InsertWrong()
456 DBG_ASSERT( ( ( rWrong.nStart == nStart ) && ( rWrong.nEnd > nEnd ) ) in InsertWrong()
457 || ( rWrong.nStart > nEnd ), "InsertWrong: RangeMismatch!" ); in InsertWrong()
458 if ( ( rWrong.nStart == nStart ) && ( rWrong.nEnd > nEnd ) ) in InsertWrong()
459 rWrong.nStart = nEnd+1; in InsertWrong()
464 Insert( WrongRange( nStart, nEnd ), nPos ); in InsertWrong()
472 MarkInvalid( GetObject( 0 ).nStart, GetObject( Count()-1 ).nEnd ); in MarkWrongsInvalid()
503 if(rCandA.nStart != rCandB.nStart in operator ==()
525 if ( ( rWrong.nStart <= rNextWrong.nStart ) in DbgIsBuggy()
526 && ( rWrong.nEnd >= rNextWrong.nStart ) ) in DbgIsBuggy()
529 else if ( ( rWrong.nStart >= rNextWrong.nStart) in DbgIsBuggy()
530 && ( rWrong.nStart <= rNextWrong.nEnd ) ) in DbgIsBuggy()