[Lazarus] Autocomplete with procedure varibles

Martin lazarus at mfriebe.de
Tue Apr 24 16:33:59 CEST 2012


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 based on the key pressed to select from
> the completion list:
>    "(" for call, ":" or "=" for assignment.
>

3)
Simple insert it without either ( or :=. Then one can continue typing as 
one likes.

Only this needs to be configurable separate from the := for other variables.




More information about the Lazarus mailing list