Logical Line Number?

  • Hello:

    Is there a way to display the line number relative to a page? I know that this was missing at one time, but was wondering if it has since been added.

    Also, What is the difference betwee CPLineNr and CPLineNrLog? They both seem to do the same thing to me.

    Thanks

    • Offizieller Beitrag

    CPLineNr is the absolute line nr from start of the text.

    CPLineNrLog is the same line number but lines in table cells are only counted once per row.

    Example:

    Code
    1
    2
    3          | 3      |3
               | 4      |
    5
    6
    7

    What you need is CPPageLineNr.

    Julian

    Julian