How can I get line offset in pixels just like with cm.heightAtLine
?
I have the same problem, does anyone have any advice?
I want the same effect as the following, how should I achieve it in CM6
editor.heightAtLine(child.position.start.line - 1, “local”);