Lazarus

Using the Lazarus IDE => General => Topic started by: Alextp on August 03, 2020, 07:22:52 pm

Title: CodeTools don't show all SetString overloads
Post by: Alextp on August 03, 2020, 07:22:52 pm
In new proj, "SetString" function call tip shows only one call tip:
for RawByteString. But I know that SetString works also for WideString and UnicodeString.

FPC 3.2, Laz trunk.
Title: Re: CodeTools don't show all SetString overloads
Post by: ASBzone on August 03, 2020, 07:27:30 pm
I only see the RawByteString edition with the Fixes branches of both FPC/Lazarus (see my sig)
Title: Re: CodeTools don't show all SetString overloads
Post by: ASerge on August 03, 2020, 08:02:55 pm
According to the documentation there are seven versions of this function: SetString (https://www.freepascal.org/docs-html/current/rtl/system/setstring.html).
Title: Re: CodeTools don't show all SetString overloads
Post by: dsiders on August 03, 2020, 09:37:29 pm
According to the documentation there are seven versions of this function: SetString (https://www.freepascal.org/docs-html/current/rtl/system/setstring.html).

Yes, and the real oddity is that the hint display is for an overload was not seen as one of the seven overloads.
Title: Re: CodeTools don't show all SetString overloads
Post by: mattias on August 03, 2020, 10:56:17 pm
I added the seven overloads.
Title: Re: CodeTools don't show all SetString overloads
Post by: Alextp on August 04, 2020, 10:53:00 am
Thanks!
can we also have all SetLength overloads (ShortString WideString UnicodeString)?
TinyPortal © 2005-2018