LeaVerou/dabblet — pull request #174 by GeorgeTzellis (2012-07-27 07:33:27+00:00)
Title: Line-highlighter highlights wrong line

The line-highlighter used to rely on the editor's height to jump to the appropriate line.
This also required its height be set through JavaScript.

I've remodeled the code so that line-highlights observe their own metrics, inherited through CSS, then jump to the appropriate line based on those.

Fully tested in OSX Lion (FF, Chrome Dev, Safari) & Windows 7 (FF, Chrome Dev)
A testing-ground [dabblet](http://dabblet.com/gist/3169678) is available