marijnh/CodeMirror — pull request #875 by boomyjee (2012-10-04 17:04:06+00:00)
Title: position:"top" in options for addLineWidget

Widget now can be positioned on top of it's line.
That's useful if using as widget as an alternative code repsentation,
so folded code appears below widget that makes sense.

There was issues with cursor position and selection, so i've created own
version for cursorCoords. Not sure about function naming -
i didn't understand the logic of your naming, sorry.

Here is sample case (click on widgets to show/hide code below):
http://uxcandy.com/~boomyjee/cm-test/