mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
Move some types and consts from structs.h to other headers
- `foldinfo_T` to `fold.h` - `context_sha256_T` to `sha256.h` - `tagname_T` to `tag.h` - `pumitem_T` to `popupmnu.h` - `prt_*_T` to hardcopy.h` - `CPT_*` consts to `edit.h` - `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
This commit is contained in:

committed by
Thiago de Arruda

parent
3005681a02
commit
a86da86d98
@@ -1,6 +1,39 @@
|
||||
#ifndef NEOVIM_HARDCOPY_H
|
||||
#define NEOVIM_HARDCOPY_H
|
||||
/* hardcopy.c */
|
||||
|
||||
/*
|
||||
* Structure to hold printing color and font attributes.
|
||||
*/
|
||||
typedef struct {
|
||||
long_u fg_color;
|
||||
long_u bg_color;
|
||||
int bold;
|
||||
int italic;
|
||||
int underline;
|
||||
int undercurl;
|
||||
} prt_text_attr_T;
|
||||
|
||||
/*
|
||||
* Structure passed back to the generic printer code.
|
||||
*/
|
||||
typedef struct {
|
||||
int n_collated_copies;
|
||||
int n_uncollated_copies;
|
||||
int duplex;
|
||||
int chars_per_line;
|
||||
int lines_per_page;
|
||||
int has_color;
|
||||
prt_text_attr_T number;
|
||||
int modec;
|
||||
int do_syntax;
|
||||
int user_abort;
|
||||
char_u *jobname;
|
||||
char_u *outfile;
|
||||
char_u *arguments;
|
||||
} prt_settings_T;
|
||||
|
||||
#define PRINT_NUMBER_WIDTH 8
|
||||
|
||||
char_u *parse_printoptions(void);
|
||||
char_u *parse_printmbfont(void);
|
||||
int prt_header_height(void);
|
||||
|
Reference in New Issue
Block a user