public int YToLine (double yPos) { var result = textEditor.GetTextEditorData ().HeightTree.YToLineNumber (yPos); return result; }