firstVisibleLine(): Integer;
The firstVisibleLine method of the JadeRichText and TextBox control classes returns the first visible line in the rich text control or the text box.
For a JadeRichText or TextBox control that scrolls vertically, this method returns the line number of the first visible text line displayed in the control (1-relative). If the control does not scroll vertically, the return value is always 1.