Synedit lines.add don't work properly
Original Reporter info from Mantis: pik33
-
Reporter name: Piotr Kardasz
Original Reporter info from Mantis: pik33
- Reporter name: Piotr Kardasz
Description:
To reproduce:
Make a new app. Place synedit and button on it. Then add a method to the button:
procedure TForm1.Button1Click(Sender: TObject);
begin
synedit1.lines.clear;
synedit1.lines.add('aaaaa');
synedit1.lines.add('bbbbb');
end;
After button click, I got two empty lines in synedit, numbered -1.
To have properly displayed my added lines, I have to click on Synedit
Lazarus x64; SVN 31673, OpenSuse 11.4, KDE 4.6.5, GTK2, QT (bug in both). Didn't test this in Windows.
Mantis conversion info:
- Mantis ID: 19880
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 31852 (#b61f7451)
- Target version: 0.99.0