[BACK]Return to term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term.c between version 1.249 and 1.250

version 1.249, 2015/08/30 21:10:56 version 1.250, 2015/09/21 13:25:00
Line 78  term_end(struct termp *p)
Line 78  term_end(struct termp *p)
  *    the next column.  However, if less than p->trailspace blanks,   *    the next column.  However, if less than p->trailspace blanks,
  *    which can be 0, 1, or 2, remain to the right margin, the line   *    which can be 0, 1, or 2, remain to the right margin, the line
  *    will be broken.   *    will be broken.
    *  - TERMP_BRTRSP: Consider trailing whitespace significant
    *    when deciding whether the chunk fits or not.
  *  - TERMP_BRIND: If the chunk does not fit and the output line has   *  - TERMP_BRIND: If the chunk does not fit and the output line has
  *    to be broken, start the next line at the right margin instead   *    to be broken, start the next line at the right margin instead
  *    of at the offset.  Used together with TERMP_NOBREAK for the tags   *    of at the offset.  Used together with TERMP_NOBREAK for the tags
Line 290  term_flushln(struct termp *p)
Line 292  term_flushln(struct termp *p)
   
         } else if (TERMP_DANGLE & p->flags)          } else if (TERMP_DANGLE & p->flags)
                 return;                  return;
   
           /* Trailing whitespace is significant in some columns. */
           if (vis && vbl && (TERMP_BRTRSP & p->flags))
                   vis += vbl;
   
         /* If the column was overrun, break the line. */          /* If the column was overrun, break the line. */
         if (maxvis < vis + p->trailspace * (*p->width)(p, ' ')) {          if (maxvis < vis + p->trailspace * (*p->width)(p, ' ')) {

Legend:
Removed from v.1.249  
changed lines
  Added in v.1.250

CVSweb