Microsoft/TypeScript — pull request #570 by sheetalkamat (2014-08-30 02:25:05+00:00)
Title: Handles all the line breaks in calculation of line-character position

Handles:
lineFeed = 0x0A, // \n
carriageReturn = 0x0D, // \r
lineSeparator = 0x2028,
paragraphSeparator = 0x2029,
nextLine = 0x0085,

Fixes #131