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

Diff for /mandoc/term.h between version 1.21 and 1.22

version 1.21, 2009/03/14 05:36:07 version 1.22, 2009/03/14 12:35:02
Line 70  enum tsym {
Line 70  enum tsym {
         TERMSYM_MAX =           41          TERMSYM_MAX =           41
 };  };
   
   enum    termenc {
 enum    tstyle {          TERMENC_ANSI,
         TERMSTYLE_CLEAR =       0,          TERMENC_NROFF
         TERMSTYLE_BOLD =        1,  
         TERMSTYLE_UNDER =       2,  
         TERMSTYLE_MAX =         3  
 };  };
   
 struct  termsym {  struct  termsym {
Line 90  struct termp {
Line 87  struct termp {
         size_t            offset;          size_t            offset;
         size_t            col;          size_t            col;
         int               flags;          int               flags;
 #define TERMP_BOLD       (1 << 0)       /* Embolden words. */  #define TERMP_NOSPACE    (1 << 0)       /* No space before words. */
 #define TERMP_UNDERLINE  (1 << 1)       /* Underline words. */  #define TERMP_NOLPAD     (1 << 1)       /* No leftpad before flush. */
 #define TERMP_NOSPACE    (1 << 2)       /* No space before words. */  #define TERMP_NOBREAK    (1 << 2)       /* No break after flush. */
 #define TERMP_NOLPAD     (1 << 3)       /* No leftpad before flush. */  #define TERMP_LITERAL    (1 << 3)       /* Literal words. */
 #define TERMP_NOBREAK    (1 << 4)       /* No break after flush. */  #define TERMP_IGNDELIM   (1 << 4)       /* Delims like regulars. */
 #define TERMP_LITERAL    (1 << 5)       /* Literal words. */  #define TERMP_NONOSPACE  (1 << 5)       /* No space (no autounset). */
 #define TERMP_IGNDELIM   (1 << 6)       /* Delims like regulars. */  #define TERMP_NONOBREAK  (1 << 7)       /* Don't newln NOBREAK. */
 #define TERMP_NONOSPACE  (1 << 7)       /* No space (no autounset). */  
 #define TERMP_NONOBREAK  (1 << 8)  #define TERMP_STYLE      0xff00         /* Style mask. */
   #define TERMP_BOLD       (1 << 8)       /* Styles... */
   #define TERMP_UNDER      (1 << 9)
   #define TERMP_BLUE       (1 << 10)
   #define TERMP_RED        (1 << 11)
   #define TERMP_YELLOW     (1 << 12)
   #define TERMP_MAGENTA    (1 << 13)
   #define TERMP_CYAN       (1 << 14)
   #define TERMP_GREEN      (1 << 15)
         char             *buf;          char             *buf;
         struct termsym   *symtab;       /* Special-symbol table. */          struct termsym   *symtab;       /* Special-symbol table. */
         struct termsym   *styletab;     /* Style table. */          enum termenc      enc;          /* Encoding. */
 };  };
   
 struct  termpair {  struct  termpair {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

CVSweb