trichview.support
| Re: Bug in InsertText with cr+lf | 
| Author | Message | 
| Dirk Bozza | Posted: 07/30/2002 12:28:55 Hi Sergey, if I use RichViewEdit1 -> InsertTextW("\n", FALSE); I see an special char like a litle quader. Help...... "Sergey Tkachenko" <[email protected]> wrote: >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