# implementation: insert a span tag where we want the cursor, and ask the
# browser where it put that span
cursor_to_loc = (n, i) ->
- span = domify span: style: "height: 1em; width: 0", children: [domify text: "|"]
+ span = domify span: style: "height: 1em; border-left: 1px solid black; margin-left: -1px"
parent = n.el.parentNode
if i is 0
# cursor at start of text