mLastSearchString   = context->mSearchString; mLastIgnoreCase     = context->mIgnoreCase; mLastSearchBackward = context->mSearchBackward; } else { rv = NS_ERROR_NULL_POINTER; }
mLastSearchString    = context->mSearchString; mLastCaseSensitive   = context->mCaseSensitive; mLastSearchBackwards = context->mSearchBackwards; mLastWrapSearch      = context->mWrapSearch;
nsFindComponent::FindNext( nsISupports *aContext ) {    nsresult rv = NS_OK;    if ( aContext ) {        // For now, just record request to console.        Context *context = (Context*)aContext;        printf( "nsFindComponent::FindNext\n\tkey=%s\n\tignoreCase=%s\tsearchBackward=%s\n",                (const char *)nsAutoCString( context->mSearchString ),                (const char *)nsAutoCString( context->mIgnoreCase ),                (const char *)nsAutoCString( context->mSearchBackward ) );        // Record this for out-of-the-blue FindNext calls.        mLastSearchString   = context->mSearchString;        mLastIgnoreCase     = context->mIgnoreCase;        mLastSearchBackward = context->mSearchBackward;    } else {        rv = NS_ERROR_NULL_POINTER;    }    return rv;}