View Issue Details

IDProjectCategoryView StatusLast Update
0019880LazarusLCLpublic2011-08-04 08:22
ReporterPiotr KardaszAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.31 (SVN)Product Build 
Target VersionFixed in Version0.9.31 (SVN) 
Summary0019880: Synedit lines.add don't work properly
DescriptionTo 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.

TagsNo tags attached.
Fixed in Revision31852
LazTarget-
Widgetset
Attached Files

Activities

Martin Friebe

2011-08-03 14:16

manager   ~0050399

Please test and close if ok

Piotr Kardasz

2011-08-03 15:12

reporter   ~0050401

Waiting for availability of this (or newer) revision on Daily Snapshot

Piotr Kardasz

2011-08-04 08:21

reporter   ~0050421

Closing. Patched my synedit.pp and now it works.

Issue History

Date Modified Username Field Change
2011-08-03 14:12 Piotr Kardasz New Issue
2011-08-03 14:12 Piotr Kardasz Widgetset => GTK 2, QT
2011-08-03 14:16 Martin Friebe Status new => assigned
2011-08-03 14:16 Martin Friebe Assigned To => Martin Friebe
2011-08-03 14:16 Martin Friebe Fixed in Revision => 31852
2011-08-03 14:16 Martin Friebe LazTarget => -
2011-08-03 14:16 Martin Friebe Widgetset GTK 2, QT =>
2011-08-03 14:16 Martin Friebe Status assigned => resolved
2011-08-03 14:16 Martin Friebe Fixed in Version => 0.9.31 (SVN)
2011-08-03 14:16 Martin Friebe Resolution open => fixed
2011-08-03 14:16 Martin Friebe Note Added: 0050399
2011-08-03 14:17 Martin Friebe Target Version => 0.99.0
2011-08-03 15:12 Piotr Kardasz Note Added: 0050401
2011-08-04 08:21 Piotr Kardasz Note Added: 0050421
2011-08-04 08:22 Piotr Kardasz Status resolved => closed