[previous] [up] [next]     [index]
Next: read-from-file Up: text Previous: position-location

position-paragraph

Returns the paragraph number of the paragraph containing a given position.

Calling this method may force the recalculation of location information if a maximum width is set for the editor, even if the editor currently has delayed refreshing (see refresh-delayed?). If the editor is not displayed and the editor has a maximum width, line breaks are calculated as for line-start-position.



PLT