On Mon, 11 Jan 2016 16:13:49 +0100 Ondrej Pokorny <laza...@kluug.net> wrote:
>[...] > > xIconFiles|:=ChangeFileExt(); >[...] > > Code completion needs a heuristic when to use String (or maybe > > AnsiString) instead of RawByteString. > > I think it fails to find exact overloads. There is no overload. There is only one definition: {$define PathStr:=RawByteString} function ChangeFileExt(const FileName, Extension: PathStr): PathStr; Note to self: it would be nice if Find Declaration would jump to the macro definition of PathStr. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus