document.GetLine(1, eeGetLineWithNewLines) can be used to (roughly) get the current document’s return method, but isn’t it better to expose this as a property of the document object?
It’s pleasant to write utility scripts to insert multiple lines of text into a document, but it’s a pain to copy and paste the same detection method across them. After all, document.Config.FileNew.ReturnMethod doesn’t always fit our needs. A constant could be added for the mixed-mode return method.
Thanks for your consideration.