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

Landmesser John jmlandmesser at gmx.de
Thu Mar 15 13:07:46 CET 2018


Don't know if that feature ever worked!

Info:

Lazarus 1.9.0 trunk FPC 3.0.4 i386-win32-win32/win64

Should i write bug-report?


Am 15.03.2018 um 12:48 schrieb Mattias Gaertner via Lazarus:
> On Thu, 15 Mar 2018 13:15:43 +0200
> Juha Manninen via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> 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.
> True. Feel free to improve the heuristic.
>
>> I think a newline should break searching for existing parameters in this case.
> Maybe better: "when the closing bracket is missing, a newline should
> break".
>
>> 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.
> You can't use Ctrl-Space to add v2.
>
> Mattias



More information about the Lazarus mailing list