what exact files do you get the message on? whatever created the file is giving it inconsistent line endings. you can ignore it, but it should not happen…
I was manually adding methods to a WPF window pas file (using VS2015) (e.g. the Loaded method) because of the issue relating to double clicking on the method in the window’s methods to add it. I add the method to the pas file, then edit the xmal file (e.g. Loaded=“MyLoadedMethod”). It also seems to happen at random when doing normal editing work on any of the project’s pas files. Closing VS2015, then reopening seems to cure it, but difficult to tell since it doesn’t happen all the time. As you say, it’s not a major problem, so I’ll keep an eye on it and let you know if I can see a pattern.
Hi Marc, attached a file showing the CRLF problem. Note some of the lines in the method: clsCommon.MinimisePath. They have just a LF character. As I recall, some of these lines were edited by me in VS2015, and some were copy/pasted from a website.
Ok, pasting from a website could ofc do it — that’d be a VS editor problem, we don’t control that afail. I’d be interested to find a scenario where our code turns a file that’s previously fine into a mixed file (eg., after adding a WinForms or WPF event handler, the newly inserted code would mismatch, say…)