trichview.com

trichview.support




Bug in InsertText with cr+lf


Return to index


Author

Message

Dirk Bozza

Posted: 07/25/2002 23:54:14


Hi,


I have found a bug in the InsertTextW function.


   RichViewEdit1 -> InsertText("test",FALSE);

   RichViewEdit1 -> InsertText("\r\n",FALSE);


In this example the second line delete the text "test". If I insert an space

before the \r\n it works.


   RichViewEdit1 -> InsertText("test",FALSE);

   RichViewEdit1 -> InsertText(" \r\n",FALSE);


Does anyone have an idea how to insert a linebreak without deleting the text

before???


Thanks,

  Dirk Bozza





Powered by ABC Amber Outlook Express Converter