Trevixal API
    Preparing search index...

    Function numberLinesIn

    • Number the lines of a rendered document in place: a print frame or a preview, which the editor does not own. Each number is hung on the first character of its line, so a page break moves it with the text rather than leaving it where the unbroken layout had the line; any numbered before are taken out first. The numbers sit beside the edge the text starts from, which is the right one in a right-to-left document. They count from first; the next number is returned, so a print's pages number on from one another.

      Parameters

      • root: HTMLElement
      • first: number = 1

      Returns number