Am I correct in thinking that a newline is always represented internally by \n
regardless of what OS Sublime Text is running on?
So the following code snippet would be a reliable way to check for a blank line on Linux, OS X, and Windows?
text = view.substr(region)
if len(text) == 1 and text[0] == "\n":
pass
Thanks.