From: Piotr H. <the...@in...> - 2004-09-09 10:14:28
|
Hi Milan Tomic! On 06:40:10 in <005601c493cb$9786bb10$ce018ac1@Majestix>, you wrote: > I've been using it with TMemo, and it worked fine. When I switched > from TMemo to TSynEdit, code didn't work. What is alternative? When you add a line with [TStrings Descendant]->Add('\r\n[..]'), you DO NOT add two lines, but one line containing <CR><LF> at the beginning, what is rendered by Synedit as spaces. TStrings do not perform any line splitting. Maybe windows' multiline edit control does, but not TStrings itself. -- Best regards, Piotr "Hellrayzer" Dalek http://www.hcm.prv.pl eni...@in... ---------------------------------------------------------------------- Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb |