last-paragraph in text%
Returns the number of the last paragraph in the editor. Paragraphs are
numbered starting with 0, so this is one less than the number of
paragraphs in the editor.
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?).