Sign in Join

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

Mailing lists / lazarus / 2011-03

Codetools confused?

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Bart

Hi,

I'm using Lazarus 0.9.31 r29641 (Win9x).
My CodeTools seem confused.

I have a TPageControl (name = NoteBook) on my form. When I type NoteBook. (in the source editor) and then wait a while (after typing the dot), CodeTools pops up and amogst others suggest BorderStyle.
However TPageControl does not have a BorderStyle property.

Also, when I am in a string constant and type a dot, CodeTools also pops up and suggest any variable, constant etc. in the current unit.

Anyone experienced the same?

Bart

Reply by email

Mattias Gaertner
to Bart
Show quoted text 10 lines
Hi, I'm using Lazarus 0.9.31 r29641 (Win9x). My CodeTools seem confused. I have a TPageControl (name = NoteBook) on my form. When I type NoteBook. (in the source editor) and then wait a while (after typing the dot), CodeTools pops up and amogst others suggest BorderStyle. However TPageControl does not have a BorderStyle property.

Please provide a complete example.

Also, when I am in a string constant and type a dot, CodeTools also pops up and suggest any variable, constant etc. in the current unit.

It should not auto popup in string constants and comments. Please create a bug report.

Anyone experienced the same?

Mattias

Reply by email

patspiper
to Bart: I'm using Lazarus 0.9.31 r29641 (Win9x). My CodeTools seem confused. I have a…
Bart wrote 15 lines
Hi, I'm using Lazarus 0.9.31 r29641 (Win9x). My CodeTools seem confused. I have a TPageControl (name = NoteBook) on my form. When I type NoteBook. (in the source editor) and then wait a while (after typing the dot), CodeTools pops up and amogst others suggest BorderStyle. However TPageControl does not have a BorderStyle property. Also, when I am in a string constant and type a dot, CodeTools also pops up and suggest any variable, constant etc. in the current unit. Anyone experienced the same?

I have noticed CodeTools confusion lately indeed. Find Declaration would fail with non existent syntax errors (it is enough to close and reopen the unit for normal operation). Once, Windows properties appeared in the identifier completion window, whereas my project is set for Linux (cross compilation is setup on my box). I have no way of

Reply by email

Bart
to Mattias Gaertner: On Sat, 26 Mar 2011 19:58:49 +0100 Please provide a complete example. It should not auto…
Mattias Gaertner wrote
Please provide a complete example.

See attached screenshot and unit I was working on. ATM I cannot reproduce the popup after a dot in a text constant, I'll make another screenshot when it happens again (and I rember to do so).

Bart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Laz_Codetools_Confusion.png
Type: image/png
Size: 11249 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110327/144e62d9/attachment.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: extaboutform.pp
Type: text/pascal
Size: 5645 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110327/144e62d9/attachment.bin>

Reply by email

Mattias Gaertner
to Bart
Show quoted text 7 lines
On 3/26/11, Mattias Gaertner wrote: > Please provide a complete example. See attached screenshot and unit I was working on. ATM I cannot reproduce the popup after a dot in a text constant, I'll make another screenshot when it happens again (and I rember to do so).

It works with the version in svn.
There was such a change a week ago.

Mattias

Reply by email

Bart
to Mattias Gaertner

That's OK then. I'll wait until I update again.
Thanks for investigating.

Bart

Mattias Gaertner wrote 22 lines
On Sun, 27 Mar 2011 00:24:43 +0100 Bart wrote: > On 3/26/11, Mattias Gaertner wrote: > > > Please provide a complete example. > > See attached screenshot and unit I was working on. > ATM I cannot reproduce the popup after a dot in a text constant, I'll > make another screenshot when it happens again (and I rember to do so). It works with the version in svn. There was such a change a week ago. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Bart
to Bart
Bart wrote
On 3/27/11, Mattias Gaertner wrote: >> ATM I cannot reproduce the popup after a dot in a text constant, I'll >> make another screenshot when it happens again (and I rember to do so).

Codetools still pop up when I type a period in a string constant (but only (it seems) if the string constant is already enclosed in single quotes).

See attached image.

Lazarus r31473M/fpc 2.4.4

Bart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetools-confusion-2.png
Type: image/png
Size: 4453 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110630/b0f514d2/attachment-0001.png>

Reply by email

Mattias Gaertner
to Bart

Bart hat am 30. Juni 2011 um 16:29 geschrieben:

Show quoted text 12 lines
On 3/27/11, Bart wrote: > On 3/27/11, Mattias Gaertner wrote: >>> ATM I cannot reproduce the popup after a dot in a text constant, I'll >>> make another screenshot when it happens again (and I rember to do so). Codetools still pop up when I type a period in a string constant (but only (it seems) if the string constant is already enclosed in single quotes). See attached image. Lazarus r31473M/fpc 2.4.4

Please create a bug report.?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110630/f64da28c/attachment.html>

Reply by email

Bart
to Mattias Gaertner

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

Bart

Mattias Gaertner wrote 22 lines
Bart hat am 30. Juni 2011 um 16:29 geschrieben: > On 3/27/11, Bart wrote: > > On 3/27/11, Mattias Gaertner wrote: > >>> ATM I cannot reproduce the popup after a dot in a text constant, I'll > >>> make another screenshot when it happens again (and I rember to do so). > > Codetools still pop up when I type a period in a string constant (but > only (it seems) if the string constant is already enclosed in single > quotes). > > See attached image. > > Lazarus r31473M/fpc 2.4.4 Please create a bug report. Mattias

Reply by email