[Lazarus] Howto use Tooltip for function pos( for example?

Juha Manninen juha.manninen62 at gmail.com
Thu Mar 15 12:15:43 CET 2018


On Thu, Mar 15, 2018 at 12:44 PM, Mattias Gaertner via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> It does not check, if the parameter is compatible.
> It sees
> pos( something.something;

It changes:
  sl := TStringList.Create;
into:
  pos(
  sl := TStringList.Create, v2);

which can never be right.
I think a newline should break searching for existing parameters in this case.
When a user wants to insert template parameters, he typically has no
existing parameters at that point.
If he has existing parameters, then he uses Ctrl-Space and
Ctrl-Shift-Space to modify / verify them.

Juha


More information about the Lazarus mailing list