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.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to