Michael Van Canneyt wrote:
On Thu, 14 Sep 2006, Marc Weustink wrote:
Mattias Gaertner wrote:
On Thu, 14 Sep 2006 11:30:52 +0200 (Romance Daylight Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
Hi,
2 feature requests:
First:
The following has been bugging me since day 1 of Lazarus:
Code completion for methods works from interface -> implementation.
However, in Delphi, the following also works:
Given the form declaration:
TForm1 = class(TForm)
private
{ private declarations }
public
{ public declarations }
end;
I can type the following in the implementation section:
Procedure TForm1.DoSomething;
begin
end;
I can place the cursor anywhere in the DoSomething method, and press
Ctrl-Shift-C. The IDE then places
Procedure DoSomething;
In the form declaration (in the private section).
This does not work in Lazarus. Could this be added ?
In practice in Delphi, I use this method infinitely more often than
the Interface -> implementation way; I really miss this.
Second:
if you add the 'Gexperts' to the Delphi IDE (highly recommended) then
'ALT Gr'-Arrow Up or
'ALT Gr'-Arrow Down ('Alt Gr' is the right Alt key) moves to the
previous/next occurrence
of the word/identifier you are standing on.
This is also something which I would like to see in the Lazarus IDE,
as I also use this quite a lot.
Aswering the subject: Both are missing.
ehm.... I would't define the first as missing, since we both agreed
that it was not wanted in some cases, and that the delphi behaviour
was anoying on this.
??
On the contrary, it's very much wanted, I don't see how it can be
annoying??
Annoying when you are adding and removing methods in the class
definition. You have just removed some and want to complete the new
ones.....
...poof, there are the removed ones again (and you won't notice since
the editor jumps to the implementation section, so you can go up again,
remove etc...)
At best, make it an option, if you really think it's annoying :-)
I think completion when you're in the implementation section is OK in
this case.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives