codemirror: found workaround for wrong cursor position when lineNumbers is on
This commit is contained in:
parent
1c266a68b1
commit
8e1daaf940
2
scripts/codemirror/lib/codemirror.js
vendored
2
scripts/codemirror/lib/codemirror.js
vendored
@ -3342,7 +3342,7 @@
|
||||
prevBottom = bot;
|
||||
} else {
|
||||
var box = cur.node.getBoundingClientRect();
|
||||
height = box.bottom - box.top;
|
||||
height = box.bottom - box.top + 1;
|
||||
// Check that lines don't extend past the right of the current
|
||||
// editor width
|
||||
if (!wrapping && cur.text.firstChild)
|
||||
|
Loading…
Reference in New Issue
Block a user