Notepad++: What does "Mac" format do?

Under Settings > Preferences > New Document > Format, there are 3 options: Windows, Mac, and Unix. I have looked on the Notepad++ Help pages, but it seems they're outdated, the images still referring to past versions with a different Preferences page UI.

I'm just wondering what the "Mac" option does. I'm running Windows 7 Professional, SP1 (64 bit)


The options refer to how newlines are handled—whether with a carriage return (CR), line feed (LF), or both.

  • Windows: CR LF (\r\n)
  • *nix/OSX: LF (\n)
  • Mac (pre-OSX): CR (\r)

This can be relevant when scraping docs, writing regexes, sharing data between applications, etc.