[previous] [up] [next]     [index]
Next: line-paragraph Up: text Previous: line-length

line-location

Given a line number, returns the graphic location of the line. Lines are numbered starting with 0.

The result is only valid when the editor is displayed (see Basic Organization). Calling this method may force the recalculation of location information, even if the editor currently has delayed refreshing (see refresh-delayed?).

See also paragraph-start-position, which operates on paragraphs (determined by explicit newline characters) instead of lines (determined by both explicit newline characters and automatic line-wrapping).



PLT