mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-20 16:22:38 -05:00
Move global fillcol to random.
This commit is contained in:
parent
0fdefdba7c
commit
96ca2e8580
@ -5,9 +5,6 @@
|
|||||||
|
|
||||||
/* initialized global definitions */
|
/* initialized global definitions */
|
||||||
|
|
||||||
int fillcol = 72; /* Current fill column */
|
|
||||||
|
|
||||||
|
|
||||||
int metac = CONTROL | '['; /* current meta character */
|
int metac = CONTROL | '['; /* current meta character */
|
||||||
int ctlxc = CONTROL | 'X'; /* current control X prefix char */
|
int ctlxc = CONTROL | 'X'; /* current control X prefix char */
|
||||||
int reptc = CONTROL | 'U'; /* current universal repeat char */
|
int reptc = CONTROL | 'U'; /* current universal repeat char */
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/* Initialized global external declarations. */
|
/* Initialized global external declarations. */
|
||||||
|
|
||||||
extern int fillcol; /* Fill column */
|
|
||||||
|
|
||||||
extern int metac; /* current meta character */
|
extern int metac; /* current meta character */
|
||||||
extern int ctlxc; /* current control X prefix char */
|
extern int ctlxc; /* current control X prefix char */
|
||||||
extern int reptc; /* current universal repeat char */
|
extern int reptc; /* current universal repeat char */
|
||||||
|
8
random.c
8
random.c
@ -36,10 +36,12 @@ static const char *cname[] = { /* names of colors */
|
|||||||
|
|
||||||
#define NCOLORS (sizeof cname / sizeof( *cname)) /* # of supported colors */
|
#define NCOLORS (sizeof cname / sizeof( *cname)) /* # of supported colors */
|
||||||
|
|
||||||
int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */
|
int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */
|
||||||
int gbcolor = 0 ; /* global backgrnd color (black) */
|
int gbcolor = 0 ; /* global backgrnd color (black) */
|
||||||
|
|
||||||
|
int tabsize ; /* Tab size (0: use real tabs) */
|
||||||
|
int fillcol = 72 ; /* Current fill column */
|
||||||
|
|
||||||
int tabsize; /* Tab size (0: use real tabs) */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set fill column to n.
|
* Set fill column to n.
|
||||||
|
4
random.h
4
random.h
@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
#define AEDIT 1
|
#define AEDIT 1
|
||||||
|
|
||||||
extern int tabsize ; /* Tab size (0: use real tabs). */
|
extern int tabsize ; /* Tab size (0: use real tabs). */
|
||||||
|
extern int fillcol ; /* Fill column */
|
||||||
|
|
||||||
|
|
||||||
int setfillcol( int f, int n) ;
|
int setfillcol( int f, int n) ;
|
||||||
int showcpos( int f, int n) ;
|
int showcpos( int f, int n) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user