DefaultTextLineBreakStyle not working the way it should - Not compatible with Delphi/Kylix
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The system variable DefaultTextLineBreakStyle
is only used for reading the default LineBreakStyle. It is not used by writeln and other text functions.
The documentation says:
{It is initialized by the system unit, and is used to determine the default line ending when writing to text files.}
That means it should work. It does work in Delphi and Kylix. Currently it's not compatible.
It is impossible to change hundreds of lines of code to use SetTextLineEnding.
DefaultTextLineBreakStyle is a constant text file functions should use. Please, try to fix it.
Thank you
Additional information:
Reporter: Jakub Klos
EMail: jakub at icewarp dot com
Mantis conversion info:
- Mantis ID: 6094
- OS: All
- Fixed in version: 2.0.2