Material File

We have our own material file that is filled with common materials we use.

When I call it up in Solidworks and change any of the properties of any material

(i.e. hatching, color, density etc...) in the Material editor, then save or update the changes,

then go back to edit the file in Notepad or add a new material, the lines of text code are all run together

and make it extremely difficult to read.

Why isn't the format that the Solidworks one is layed out in kept?

Is there a way to get back or prevent this format from being lost when updating materials?

SolidworksApi macros