2010/2/23 Mattias Gärtner <[email protected]>:
> Zitat von Graeme Geldenhuys <[email protected]>:
>
>> Mattias Gärtner wrote:
>>>>
>>>> Unfortunately the same can not be said for the *.lpi files. This is
>>>> quite
>>>> annoying. Could the same rules for *.pas files be applied to *.lpi
>>>> files?
>>>
>>> It is completely different code.
>>> laz_xmlread, laz_xmlwrite and project.pp need to be changed.
>>
>>
>> So is this something fixable?  Or was the EOL style changing for *.lpi
>> files done by design?
>
> lpi files are simple xml files. They are written with system lineending.
> You need to extend the code, that it can write xml files with other line
> ending, detect the line ending when reading xml, use this in xmlconfig and
> use this in TProject.
> It's not rocket science. Feel free to create a patch.
>
> I guess it makes sense for lpk files too, but it does not make much sense
> for lps files.
>
> Mattias
>

While we're at it, Mattias, do you see a problem in storing
(file&folder) paths (in configuration files) always with the same
separator instead of changing depending on the platform it's saved?

Best regards,
Flávio

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to