Recent

Author Topic: CodeTools don't show all SetString overloads  (Read 480 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • UVviewsoft
CodeTools don't show all SetString overloads
« 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.

ASBzone

  • Sr. Member
  • ****
  • Posts: 476
  • Automation leads to relaxation...
    • Free BrainWaveCC Console Utilities
Re: CodeTools don't show all SetString overloads
« Reply #1 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)
-ASB: https://www.BrainWaveCC.com

Lazarus v2.0.11 r63516 / FPC v3.2.1-r46879 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 2004 (Build 19041.508)
Other Systems: Windows 10 Pro x64, Version 2004 or greater

ASerge

  • Hero Member
  • *****
  • Posts: 1681
Re: CodeTools don't show all SetString overloads
« Reply #2 on: August 03, 2020, 08:02:55 pm »
According to the documentation there are seven versions of this function: SetString.

dsiders

  • Sr. Member
  • ****
  • Posts: 379
Re: CodeTools don't show all SetString overloads
« Reply #3 on: August 03, 2020, 09:37:29 pm »
According to the documentation there are seven versions of this function: SetString.

Yes, and the real oddity is that the hint display is for an overload was not seen as one of the seven overloads.
Lazarus 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 172
    • http://www.lazarus.freepascal.org
Re: CodeTools don't show all SetString overloads
« Reply #4 on: August 03, 2020, 10:56:17 pm »
I added the seven overloads.

Alextp

  • Hero Member
  • *****
  • Posts: 1148
    • UVviewsoft
Re: CodeTools don't show all SetString overloads
« Reply #5 on: August 04, 2020, 10:53:00 am »
Thanks!
can we also have all SetLength overloads (ShortString WideString UnicodeString)?

 

TinyPortal © 2005-2018