ajaxorg/ace — pull request #1217 by startupandrew (2013-01-23 02:40:19+00:00)
Title: Add ability to specify first line number

I've added the ability for developers to specify the first line number that ace displays. This is useful for displaying code snippets, where the first line of text might be the Nth line in a file.

All you need to do is call "editor.setFirstLineNumber(lineNumber)"