On 9/28/05, Matthijs Willemstein <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When I have the following code:
>
> type
> TFoo = class
> procedure FooProc;
> end;
>
> After invoking code completion the skeleton of procedure TFoo.FooProc is
> created. Then I change the definition to read as follows:
>
> type
> TFoo = class
> procedure FooProc(AValue: TWhatever);
> end;
>
> Pressing <ctrl><shift>C (thus invoking code completion) a new skeleton
> for procedure TFoo.FooProc is made. I think this is not the correct
> behaviour. Either it should do nothing at all, or it should adapt the
> previously created version.
> Any opinions on that?
>
> Matthijs
>
> --
> Matthijs Willemstein <[EMAIL PROTECTED]>
>
>
> _________________________________________________________________
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
and if you write
TFoo = class
procedure FooProc(AValue: TWhatever); [overload] [override] [etc]
end;
too many cases I think. better do nothing when pressing Ctrl+Shift+C
and the compiler will generate an error later.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives