It's a localhost XAMPP install, so MODX is running under Apache, but on Windows.
MODX sets the line endings to something explicit (probably "\n"), but I don't know if they're changed when the file is saved (and I'm hoping I don't have to write code to find out

).
BTW, if I'm reading that thread correctly, PhpStorm converts everything to "\n" when you load a document and changes all line endings to the system native format when you save. There's no way to change that.
The section on controlling line endings refers to Git, not PhpStorm.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
[ed. note: BobRay last edited this post 14 years, 1 month ago.]