procedure TSynEditStringList.SetFileFormat(const Value: TSynEditFileFormat);
begin
case FileFormat of <- this is wrong, it must be Value
sffDos: LineBreak := WideCRLF;
sffUnix: LineBreak := WideLF;
sffMac: LineBreak := WideCR;
sffUnicode: LineBreak := WideLineSeparator;
end;
end;
In the consequence in PyScripter Edit/File Format/Unix doesn't change the format.
In the consequence in PyScripter Edit/File Format/Unix doesn't change the format.