Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03dd3ef

Browse files
committed
<writer>.send_paragraph(): Clarify what needs to be done by this
method and what it should not do. (Specifically: handling breaking of last line of preceeding paragraph.)
1 parent f4bb656 commit 03dd3ef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/lib/libformatter.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ \subsection{The Writer Interface}
265265
\begin{methoddesc}[writer]{send_paragraph}{blankline}
266266
Produce a paragraph separation of at least \var{blankline} blank
267267
lines, or the equivelent. The \var{blankline} value will be an
268-
integer.
268+
integer. Note that the implementation will receive a call to
269+
\method{send_line_break()} before this call if a line break is needed;
270+
this method should not include ending the last line of the paragraph.
271+
It is only responsible for vertical spacing between paragraphs.
269272
\end{methoddesc}
270273

271274
\begin{methoddesc}[writer]{send_hor_rule}{*args, **kw}

0 commit comments

Comments
 (0)