This group functions that aid the formatting of output.
Functions | |
| static const char * | cutToWhiteSpace (const char *s, uint offset, char *sbuf) |
| Used by print1Column, print2Columns and print3Columns to manage wrapping text within columns. | |
| static void | print1Column (const char *fmt, uint l1, const char *c1) |
| Outputs one column of text. | |
| static void | print2Columns (const char *fmt, uint l1, uint l2, const char *c1, const char *c2) |
| Outputs two columns of text. | |
| static void | print3Columns (const char *fmt, uint l1, uint l2, uint l3, const char *c1, const char *c2, const char *c3) |
| Outputs three columns of text. | |
| static void | unknownOption (TidyDoc tdoc, uint c) |
| Provides the unknown option output to the current errout. | |
|
static |
Used by print1Column, print2Columns and print3Columns to manage wrapping text within columns.
| s | starting point of desired string to output |
| offset | column width desired |
| sbuf | the buffer to output |
|
static |
Outputs one column of text.
| fmt | The format string for formatting the output. |
| l1 | The width of the column. |
| c1 | The content of the column. |
Outputs two columns of text.
| fmt | The format string for formatting the output. |
| l1 | The width of column 1. |
| l2 | The width of column 2. |
| c1 | The contents of column 1. |
| c2 | The contents of column 2. |
|
static |
Outputs three columns of text.
| fmt | The three column format string. |
| l1 | Width of column 1. |
| l2 | Width of column 2. |
| l3 | Width of column 3. |
| c1 | Content of column 1. |
| c2 | Content of column 2. |
| c3 | Content of column 3. |