Does the IDE mangle code for everyone

Or does it just hate me. Its been happening for many many versions

    class procedure Display (ATitle, AMessage : string); overload;
    class procedure Display (AMessage : string);         overload;

    class procedure Popup   (AForm : TWebForm;
                             ATitle, AMessage : string); overload;
    class procedure Popup   (AForm : TWebForm;
                             AMessage : string);         overload;

I added two two popup methods and pressed ctrlshiftC

And the end gets split (Other times, other identifiers get split)

class procedure Tfrm_Message.Popup(AForm: TWebForm; AMessage: string);
begin

end;

eclass procedure Tfrm_Message.Popup(AForm: TWebForm; ATitle, AMessage: string);
begin

end;

nd.

It mangles it every time for me.

I had this issue a while back, it’s a mixed line endings thing. Even though I had the IDE set to automatically fix line endings, it didn’t.

1 Like

Great.

Before it used to be GIT, (when I had developers working for me). And now its Claude. It has to change to unix line endings to work on the files. And it does stuff it up when converting them back.