On Sat, 25 Apr 2020 09:02:50 +0200 Mattias Gaertner via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
> On Sat, 25 Apr 2020 12:03:55 +0700 > Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > > I have FindCodeContext working correctly I believe because ProcName > > from TCodeContextInfo returns the correct name of the function. In > > TCodeContextInfoItem the params string list is nil though. Shouldn't > > that contain the list of parameters? Not sure how this intended to > > be used if that list of empty. > > Is X,Y inside the brackets? The TCodeContextInfoItem.ProcName is set only for compiler built-in functions. Normal functions have an Expr<>nil. See procedure TCodeContextFrm.CreateHints in lazarus/ide/codecontextform.pas Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal