Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-04

"block completion" for classes

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sven Barth

Hello together!

Since some revisions I have noticed that Lazarus does not "complete" a class declaration anymore.

E.g.:

TTest = class|

pressing Enter previously resulted in this:

TTest = class
|
end;

Was a config option changed/added for this or is this a bug?

Information: rev. 30150; linux-i386-gtk2

Regards,
Sven

Reply by email

Graeme Geldenhuys
to Sven Barth
Sven Barth wrote 7 lines
pressing Enter previously resulted in this: TTest = class ?| end; Was a config option changed/added for this or is this a bug?

Isn't that just defined in Code Templates - something the developer can change themselves?

I'm using 0.9.30 and that code template / class completion works as you described above.

Regards, ? - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Sven Barth
to Graeme Geldenhuys
Graeme Geldenhuys wrote 12 lines
On 3 April 2011 17:12, Sven Barth wrote: > pressing Enter previously resulted in this: > > TTest = class > | > end; > > Was a config option changed/added for this or is this a bug? Isn't that just defined in Code Templates - something the developer can change themselves?

I don't think so, because it worked for

TTest = class(TFoo)|

as well. You can't do that with code templates (as far as I know).

I'm using 0.9.30 and that code template / class completion works as you described above.

I just tested it with 0.9.30 as well. And indeed: it works there. So this seems to be a bug/regression (if I haven't missed a setting of course).

Regards,
Sven

Reply by email

Mattias Gaertner
to Sven Barth: Hello together! Since some revisions I have noticed that Lazarus does not "complete" a…
Show quoted text 18 lines
Hello together! Since some revisions I have noticed that Lazarus does not "complete" a class declaration anymore. E.g.: TTest = class| pressing Enter previously resulted in this: TTest = class | end; Was a config option changed/added for this or is this a bug? Information: rev. 30150; linux-i386-gtk2

Please report this bug.

Mattias

Reply by email

Sven Barth
to Mattias Gaertner
Mattias Gaertner wrote 25 lines
On Sun, 03 Apr 2011 17:12:22 +0200 Sven Barth wrote: > Hello together! > > Since some revisions I have noticed that Lazarus does not "complete" a > class declaration anymore. > > E.g.: > > TTest = class| > > pressing Enter previously resulted in this: > > TTest = class > | > end; > > Was a config option changed/added for this or is this a bug? > > Information: rev. 30150; linux-i386-gtk2 Please report this bug. Mattias

Done: http://bugs.freepascal.org/view.php?id=19080

Regards,
Sven

Reply by email