Recent

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

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • 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

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
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.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

ASerge

  • Hero Member
  • *****
  • Posts: 2212
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

  • Hero Member
  • *****
  • Posts: 1045
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.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • 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: 2365
    • 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