marijnh/CodeMirror — pull request #1587 by jiji262 (2013-06-11 14:04:59+00:00)
Title: Add highlight line feature to CodeMirror

highlight feature:
When one line is clicked, (the line will have the cursor), this line will add highlight style (ie., add class "highlight-line" to the line).

addLineClass and removeLineClass are used in this plugin. Note removeLineClass function will not run on every line. It only runs once. This is very fast than other ways.