My code to insert text into a CEikRichTextEditor is as follows.

Code:
void CPengawasContainer3::ConstructL( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver )
	{
	if ( aParent == NULL )
	    {
		CreateWindowL();
	    }
	else
	    {
	    SetContainerWindowL( *aParent );
	    }
	iFocusControl = NULL;
	iCommandObserver = aCommandObserver;
	InitializeControlsL();
	iRichTextEditor = new (ELeave)CEikRichTextEditor();
	iRichTextEditor->SetContainerWindowL(*this);
	TResourceReader reader;
	iCoeEnv->CreateResourceReaderLC(reader, R_RICH_TEXT_EDITOR);
    iRichTextEditor->ConstructFromResourceL(reader);
	CleanupStack::PopAndDestroy();
	iRichTextEditor->SetRect(aRect);
	iRichTextEditor->SetFocus(ETrue);
	iRichTextEditor->SetCursorPosL(0,EFalse);
    // Create the scrollbar for the editor
    iScrollBarFrame = iRichTextEditor->CreateScrollBarFrameL();
    // Set horizontal scrollbar invisible (EOff) and vertical scrollbar
    // visible (EOn)
    iScrollBarFrame->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff,
        CEikScrollBarFrame::EOn);
	// [[[ begin generated region: do not modify [Post-ActivateL initializations]
	// ]]] end generated region [Post-ActivateL initializations]
	SetRect( aRect );
	ActivateL();
	LoadText();
	}

void CPengawasContainer3::LoadText()
	{
	_LIT(KBarisPertama, "Baris pertama\r\n");
	_LIT(KBarisKedua, "Baris kedua\r\n");
	_LIT(KBarisKetiga, "Baris ketiga\r\n");
	_LIT(KBarisKeempat, "Baris keempat");
	HBufC16* buf16 = HBufC16::NewL(100);
	CleanupStack::PushL(buf16);
	TPtr16 ptr(buf16->Des());
	ptr.Copy(KBarisPertama);
	ptr.Append(KBarisKedua);
	ptr.Append(KBarisKetiga);
	ptr.Append(KBarisKeempat);
	iRichTextEditor->SetTextL(buf16);
	//iRichTextEditor->HandleTextChangedL(); //using this doesn't help
	CleanupStack::PopAndDestroy(buf16);
	//iRichTextEditor->DrawNow();  //it doesn't help, either
	/*TBuf<100> aTeks;
	iRichTextEditor->GetText(aTeks);
	iEikonEnv->InfoWinL(_L("Teks"), aTeks);*/
	}
How come the editor does not automatically display the text loaded into it? It does only when I hit the Left-Right arrow key. FYI, the editor is placed in a tabbed view.

Your help to this "trivial" prob is greatly appreciated.