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

Diff for /mandoc/term.h between version 1.26 and 1.27

version 1.26, 2009/03/17 13:35:46 version 1.27, 2009/03/19 11:49:00
Line 21 
Line 21 
   
 #include "mdoc.h"  #include "mdoc.h"
   
 /* XXX - clean up tabs. */  /* FIXME - clean up tabs. */
   
 #define INDENT            6  #define INDENT            6
   
 __BEGIN_DECLS  __BEGIN_DECLS
   
 struct  termp {  struct  termp {
         size_t            rmargin;          size_t            rmargin;      /* Current right margin. */
         size_t            maxrmargin;          size_t            maxrmargin;   /* Max right margin. */
         size_t            maxcols;          size_t            maxcols;      /* Max size of buf. */
         size_t            offset;          size_t            offset;       /* Margin offest. */
         size_t            col;          size_t            col;          /* Bytes in buf. */
         int               iflags;  
 #define TERMP_NOPUNT     (1 << 0)  
         int               flags;          int               flags;
 #define TERMP_NOSPACE    (1 << 0)       /* No space before words. */  #define TERMP_NOSPACE    (1 << 0)       /* No space before words. */
 #define TERMP_NOLPAD     (1 << 1)       /* No leftpad before flush. */  #define TERMP_NOLPAD     (1 << 1)       /* No leftpad before flush. */
Line 43  struct termp {
Line 41  struct termp {
 #define TERMP_IGNDELIM   (1 << 4)       /* Delims like regulars. */  #define TERMP_IGNDELIM   (1 << 4)       /* Delims like regulars. */
 #define TERMP_NONOSPACE  (1 << 5)       /* No space (no autounset). */  #define TERMP_NONOSPACE  (1 << 5)       /* No space (no autounset). */
 #define TERMP_NONOBREAK  (1 << 7)       /* Don't newln NOBREAK. */  #define TERMP_NONOBREAK  (1 << 7)       /* Don't newln NOBREAK. */
 #define TERMP_STYLE      0x0300         /* Style mask. */  #define TERMP_STYLE       0x0300        /* Style mask. */
 #define TERMP_BOLD       (1 << 8)       /* Styles... */  #define TERMP_BOLD       (1 << 8)       /* Styles... */
 #define TERMP_UNDER      (1 << 9)  #define TERMP_UNDER      (1 << 9)
         char             *buf;          char             *buf;          /* Output buffer. */
         void             *symtab;          void             *symtab;       /* Encoded-symbol table. */
 };  };
   
 /* XXX - clean this up. */  /* XXX - clean this up. */

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

CVSweb