Adding vim browse patch ref. #21
This commit is contained in:
parent
e139d1fd75
commit
e039854635
13 changed files with 769 additions and 23 deletions
7
st.h
7
st.h
|
|
@ -15,6 +15,9 @@
|
|||
#define MAX(a, b) ((a) < (b) ? (b) : (a))
|
||||
#define LEN(a) (sizeof(a) / sizeof(a)[0])
|
||||
#define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b))
|
||||
#if VIM_BROWSE_PATCH
|
||||
#define OUT(x, a, b) ((a) <= (x) || (x) <= (b))
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
#define DIVCEIL(n, d) (((n) + ((d) - 1)) / (d))
|
||||
#define DEFAULT(a, b) (a) = (a) ? (a) : (b)
|
||||
#define LIMIT(x, a, b) (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)
|
||||
|
|
@ -285,6 +288,7 @@ void die(const char *, ...);
|
|||
void redraw(void);
|
||||
void draw(void);
|
||||
void drawregion(int, int, int, int);
|
||||
void tfulldirt(void);
|
||||
|
||||
void printscreen(const Arg *);
|
||||
void printsel(const Arg *);
|
||||
|
|
@ -294,6 +298,9 @@ void toggleprinter(const Arg *);
|
|||
int tattrset(int);
|
||||
void tnew(int, int);
|
||||
void tresize(int, int);
|
||||
#if VIM_BROWSE_PATCH
|
||||
void tmoveto(int x, int y);
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
void tsetdirtattr(int);
|
||||
void ttyhangup(void);
|
||||
int ttynew(char *, char *, char *, char **);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue