trichview.support
Re: Bug in InsertText with cr+lf |
Author |
Message |
Sergey Tkachenko |
Posted: 07/26/2002 22:37:00 Hi, Use "\n" without "\r" > 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