Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Martin
On 24/04/2012 16:32, Alexander Klenin wrote: On Wed, Apr 25, 2012 at 01:33, Martin wrote: 3) Simple insert it without either ( or :=. Then one can continue typing as one likes. Excellent thinking! I agree. or even better: as long as there is a dropdown, ue to other variables (different name

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Alexander Klenin
On Wed, Apr 25, 2012 at 01:33, Martin wrote: > 3) Simple insert it without either ( or :=. Then one can continue typing as > one likes. Excellent thinking! I agree. > Only this needs to be configurable separate from the := for other variables. I think this is too rare a case to deserve a separa

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Martin
On 24/04/2012 15:13, Alexander Klenin wrote: While calling the procedure via variable is probably more frequent, assigning to it is a valid case too. I can suggest several alternatives: 1) Output both "myproc(params)" and "myproc:=" items in the completion dropdown 2) Choose call vs. assignment b

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Alexander Klenin
While calling the procedure via variable is probably more frequent, assigning to it is a valid case too. I can suggest several alternatives: 1) Output both "myproc(params)" and "myproc:=" items in the completion dropdown 2) Choose call vs. assignment based on the key pressed to select from the comp

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Sven Barth
Am 23.04.2012 22:20, schrieb Bernd: I have something like this: var some_external_func: function(foo: bar): baz; cdecl; some_external_proc: procedure(bla: blub); cdecl; and later I will assign them with pointers received with GetProcAddress() from a dynamically loaded library. There are a

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-23 Thread Mattias Gaertner
On Mon, 23 Apr 2012 22:20:18 +0200 Bernd wrote: > I have something like this: > > var > some_external_func: function(foo: bar): baz; cdecl; > some_external_proc: procedure(bla: blub); cdecl; > > and later I will assign them with pointers received with > GetProcAddress() from a dynamically l

[Lazarus] Autocomplete with procedure varibles

2012-04-23 Thread Bernd
I have something like this: var some_external_func: function(foo: bar): baz; cdecl; some_external_proc: procedure(bla: blub); cdecl; and later I will assign them with pointers received with GetProcAddress() from a dynamically loaded library. There are a lot of these functions and I need to ca